Tuesday, December 13, 2011

Problem Updating Nuget - Online Gallery Offline

While attempting to update to the recently released 1.6 version of Nuget at work, a few of us were having trouble connecting to the Online Extension Gallery in Visual Studio.  As you can see in the following image, the Online Gallery was listed as being 'Offline'.

Thankfully one of my colleagues solved the problem by applying a tweak to the devenv.exe.config which is located at C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
<configuration> .... <system.net> <settings> ..... <servicepointmanager expect100continue="false" /> </settings> </system.net> </configuration>
Other things to consider if you are having troubles applying the Nuget update:
  1. If the package won't update, consider un-installing and reinstalling it
  2. You should run Visual Studio as Administrator
  3. It could be a proxy issue

No comments:

Post a Comment