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

NuGet fails updating automatically from non existing version

$
0
0

I´ve loaded an old project. It has a NuGet package referenced to a version (version 1) that doesn´t exists anymore in the nuget.org remote repository. It doesn´t exists neither in my local computer. In the remote repository exists with version 2.

When I open the Nuget Package Manager this package appears in the list to be Updated (from version 1 to version 2). I do so, but it fails because it tries to find the previous version, so:

Unable to find version 1.00 of package MyPackage

If I try to Uninstall it, even checking the options:

 - Remove dependencies - Force uninstall

The error is the same...

Only when I modify packages.json version manually it works.

As Nuget Package Manager already knows that there is a v2 and it fails finding anywhere v1, my question is: There is not an automated way to make this work?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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