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

Commented Unassigned: Update-Package -Reinstall doesn't retain versions [3468]

$
0
0
The docs suggest that Update-Package -Reinstall will reinstall the *same versions* of all packages in all projects.

I just tried this (as we're testing moving net40 -> net45), but it upgraded and downgraded a couple of packages (including overwriting a ton of /Content/ files as a result)! This seems like a bug.

Example:

jQuery went 1.7.1 to 1.4.4 (downgrade!)
jQuery.UI.Combined went 1.8.16 to 1.8.24 (minor upgrade)


Comments: Formatting went screwy in that comment due to trying to bold across lines, but hopefully you can see what happened. jQuery 1.4.4 was installed because it was the minimum required for jQuery UI, even though I'd origially had jQuery 1.7.1 installed.

Viewing all articles
Browse latest Browse all 7612

Trending Articles



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