Tuesday, October 7, 2014

Nuget Manager showing packages which have been deleted.

Problem:
We have moved a project out of TFS and onto a new machine.  The packages where not being cleare up with the Package Manager Console.  Tried several times to refresh.  The


Solution:

Option 1:

1.)Tools > NuGet Package Manager > Package Manager Console
2.)Update-Package -Reinstall -Project iWatch.Core

If that does not work then try:

Option 2:
1.)Tools > NuGet Package Manager
2.)Remove all nuget packages
3.)Find the packages file in the project this should be at the root of the project.  Open the file and clear out the xml entries.
4.)Manually reinstall packages.


Source
http://stackoverflow.com/questions/13085480/restoring-nuget-references

No comments:

Post a Comment