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

How to define the successor package ID after a rename of the NuGet Package ID

$
0
0

I know, you should not change the Package ID of a NuGet Package. But I did, because of a big refactoring.

Now I want to know if there is a proper way to define a successor NuGet package.

Old ID in Nuspec: OldLibrary1
New ID in Nuspec/csproj file: Library1

If a user opens the NuGet Package Management window for a Visual Studio Solution and the old package (ID OldLibrary1-1.0.0) is installed, he should see an update/upgrade to package Library1-2.0.0.

Is there a possible way to define this in some way?

By the way I use ProGet as NuGet server.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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