How to get rid of content folder in a nuget packet


I am using native TC nuget server and building simple web apps.

By defalut nuget runner put all the web pages to content folder in the nuget package then it is more complicate to deploy this package via Octopus.

How to force the nuget.exe to copy all the files to the root folder of the nuget package? I do not have nuspec files.

1 comment
Comment actions Permalink

Hi Sergiy,

I don't know other way to do it, except using .nuspec file.
Probably you will be interested in Octopus plugin for TeamCity, which helps to create Octopus-compatible NuGet packages.


Please sign in to leave a comment.