Package version 1.0.0.0 but nuspec have 1.2.253.0

Hi Paul,

My problem is i have a WCF project, i can create nuget package with octo.exe in our TFS environment. After the successfull build, the release-ready package is deploying to the corporate nuget feed.

In my nuspec file the version is 1.2.253.0, but the package what is pushed to nuget feed is 1.0.0.0.
Because the previous “error”, i can’t select different version when i want to create release in Octopus UI.

Could you help me?

Hi,

When you use OctoPack the version number defaults to the assembly version number of the project. You could use a * in the assembly version of the project to have it auto-generated, or you could pass it as a parameter to MSBuild. More info is available under the Versioning section on this page:

Hope this helps,

Paul

Sent from my Windows Phone


From: Binjaaa
Sent: 10/10/2012 23:17
To: Paul Stovell
Subject: Package version 1.0.0.0 but nuspec have 1.2.253.0 [Problems #746]

Hi,

You are right. I’ve added a new build process template which can update details of my builded assemblies.
You can close this discussion.
Thank you Paul.

Imi