An error occurred while retrieving package metadata for ***

I had the same issue with my visual studio 2015.

But Uninstalling the Nuget Package Manager and re-installing the same worked for me.

In Visual Studio, from the "Tools" menu choose the "Extensions and Updates" option. Top right "Search Installed" bar, sear ch for Nuget Package Manager Uninstall the Nuget Package Manager for Visual Studio 2015. Restart Visual Studio. Re-Install the same with the same steps.

close the visual studio and again open


I had the same issue with my visual studio 2015.

But Uninstalling the Nuget Package Manager and re-installing the same worked for me.

  1. In Visual Studio, from the "Tools" menu choose the "Extensions and Updates" option.
  2. Top right "Search Installed" bar, sear ch for Nuget Package Manager
  3. Uninstall the Nuget Package Manager for Visual Studio 2015.
  4. Restart Visual Studio.
  5. Re-Install the same with the same steps.

Update the Visual Studio Package Manager to the latest version using the below steps and the ongoing issue will disappear.

  1. In Visual Studio, from the "Tools" menu choose the "Extensions and Updates" option.
  2. From the dialog that appears, expand the "Updates" node from the tree at the left side.
  3. Select the "Visual Studio Gallery" option from the tree.
  4. Finally, look for the Package Manager update in the list of updates at the right side of the dialog and click the "Update" button beside it.

Tags:

C#

Package

Nuget