I hit a problem with the nugetPack task because I want to push the version of the package from my build script (via CI, etc). I've added a packageVersion property to nugetPack which will override the version in the nuspec file (mine is $version$, which would also cause problems!) and will fall back to the version in the nuspec or the project version, as before.
Hello. Hope you don't mind a surprise PR!
I hit a problem with the
nugetPack
task because I want to push the version of the package from my build script (via CI, etc). I've added apackageVersion
property tonugetPack
which will override the version in the nuspec file (mine is$version$
, which would also cause problems!) and will fall back to the version in the nuspec or the project version, as before.