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

dot net nuget package version override

$
0
0

I created a class library. The default version was 1.0.0, and then I updated the class and again created the package using this (dotnet pack -p:PackageVersion=1.0.1 -o \packages) command. I realized that I used the wrong directive in the class and the package was created on the wrong path as well. I changed the directives and created again with the same command with same 1.0.1 in a correct folder. I am unable to refer in other classes with using directive. The compiler does not understand that. When I reference 1.0.2 in csproj package reference then the compiler sees that.

Are these versions immutable? Why removing does not work? How can I make it use version 1.0.1? I have spent hours trying different things, and I do not seem to solve this. Help needed please.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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