How to ignore NuGet Pack dependencies

When I run the NuGet Pack step It builds my package but includes a number of dependence that are not necessary and includes my data Entities in the the contents. I am pointing to the .nuspec file which does not include a dependence section.  Right now after the package is built I open the package and remove the dependencies and delete the content folder.  Is there a way to have the the Nuget Pack ignore at build time?

0
2 comments

Hi,

could you please share a screenshot of the build step configuration? Also mention which teamcity version you are using.

0

We are running TeamCity Professional 2018.1 (build 58245)



0

Please sign in to leave a comment.