NuGet Pack - Different Problems Packing Against nuspec or csproj
问题 I've run into a bit of a catch-22 here. I'm using NuGet and TeamCity. I've tried doing NuGet pack with the nuspec file, and I've also tried with the csproj file. Each has its own issue: In TeamCity, if I use the nuspec file with NuGet pack , the $version$ token, in the nuspec file, doesn't get updated. If I change TeamCity to NuGet pack using the csproj file, the $version$ token gets updated, however the resulting package only has the EXE in it, and all of the dependent assemblies are missing