Nuget Package build version
I am trying to build a nuget package from a github repo but I
can't get it to inject the correct version number into the nuget
package.
my nuspec has <version>$version$</version>
set so it knows to put it in there and my appveyor.yml
has version: 1.4.{build} to include the build number
in the version number.
This part works fine for versioning the build and even the assembly
patcher but the package version always comes out as 1.0
Here is the build:
https://ci.appveyor.com/project/dkarzon/dropnetrt
Here is the github repo:
https://github.com/DropNet/DropNetRT
I have set this up in another project before and it's worked https://ci.appveyor.com/project/dkarzon/dropnet but I can't work out why this one doesn't.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 23 Apr, 2015 02:18 AM
That's indeed weird. If you download DropNetRT.1.0.nupkg and check its contents you'll see that assembly is correctly versioned.
Maybe it's because of WinRT?... At the end of the day you can try replacing automatic packaging with your own
nuget packcommand and pass version in parameter:2 Posted by Damian Karzon on 23 Apr, 2015 06:26 AM
Its PCL that's not specifically WinRT but its very strange as the other library works with almost identical settings.
Any chance there is more logging on the build that I can't see?
I'll give the manual nuget call a try, thanks.
3 Posted by Harry McIntyre on 16 May, 2015 02:23 PM
I get this problem too with my projects :(
Support Staff 4 Posted by Feodor Fitsner on 16 May, 2015 04:50 PM
Are those public projects?
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:56 AM.