TLDR: Where is dotnet pack
pulling the version information when it creates the nuget package for an assembly?
I have a library, that I had transitioned fr
NOTE: I understand this question is not specifically about VSTS/Azure Dev Ops but a search for how to do this on a build pipeline lands here so adding what worked for me
-p:Version=1.0.$(Build.BuildId) -o $(Build.ArtifactStagingDirectory)
The -o argument is required if the task following the packaging is going to push to a feed (isn't that why one would build packages?)