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.