Update Nuget package with build number

Simone Chiaretta's Avatar

Simone Chiaretta

02 Dec, 2014 05:15 PM

Dears,
for this project
https://ci.appveyor.com/project/simonech/environmentalconfiguration
I've configured automatic creation of Nuget Package in project feed, and also configured assemblyinfo patching.
The dll inside the packages gets the right version number (from the build number) but the nuget package gets 1.0.0.0 if version element is in the package specs, and Nuget gives an error if it's left out.

Simone

  1. Support Staff 1 Posted by Feodor Fitsner on 02 Dec, 2014 07:55 PM

    Feodor Fitsner's Avatar

    Try updating this line: https://github.com/simonech/EnvironmentalConfiguration/blob/master/...

    to:

    <version>$version$</version>
    
  2. 2 Posted by Simone Chiarett... on 03 Dec, 2014 08:13 AM

    Simone Chiaretta's Avatar

    Thanks
    it works

    Simone

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:50 AM.

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