Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Commented Unassigned: UI prompts to update package past allowed version [3301]

$
0
0
1. Open a solution with multiple projects, exactly one of which references the jQuery NuGet package. Ensure it references jQuery 1.9.1.
2. On the project that includes the jQuery package, open packages.config and add __allowedVersions="[1.9.1,2)"__ to the jQuery line ([why?](http://stackoverflow.com/a/16151570/145173)).
3. From the main menu, click "Manage NuGet Packages for Solution".

Notice that the package manager window displays an update for jQuery 2.0.0. This should not be displayed because the update is not allowed.
Comments: This is by design. When you open the dialog for the solution, we don't check the allowedVersions of each individual projects, even though only one project references jQuery package. When you actually install the package though, it will fail.

Viewing all articles
Browse latest Browse all 7612

Latest Images

Trending Articles



Latest Images

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