Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Version number of NuGet pacakge specified in .csproj doesn't match version number of package

$
0
0

I've generated a new NuGet package and when I add it to a project the reference is wrong. This is kind of hard to describe but I'll do my best. The last version of this package was 3.3.11.0. I modified the code of the package, changed the assemblyinfo.cs to 3.64.1:

enter image description here

Changed the version in the .nuspec file:

enter image description here

Recompiled and ran NuGet pack to create the package and NuGet init to place it on our share and yet when I add the package to my project and the "Include" version is wrong:

enter image description here

What the heck is going on? I've been working with creating NuGet Packages for years and I've never seen anything like this.

The version of the actual generated .dll is correct as well:

enter image description here


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>