Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nuget package update issues

I am having problems updating Nuget packages in Visual Studio 2013 for a solution.

I right-clicked the solution, chose "Manage packages for solution", then choose "Update All" in the update tab.

It all seemed to update fine, however, in the update tab, the packages that were updated are still showing as needing to update. If I then go to update them again, the list of projects shows each project that has the package, and each checkbox is disabled, as if it already knows they have been updated. So as far as I can tell, every project has been updated.

I have restarted Visual Studio

Anyone else come across this before?

like image 663
eyeballpaul Avatar asked Dec 27 '13 12:12

eyeballpaul


1 Answers

Check your packages folder. It seems to me that this problem occurs when Nuget cannot, for whatever reason, delete the old package version. So if you've got a "MyLib 4.0.3.0" folder and a "MyLib 4.0.5.0" folder, then it will show both of them in the list of installed packages, and it will think that MyLib needs to be updated.

like image 162
alfvaen Avatar answered Nov 16 '22 01:11

alfvaen