I've downloaded the code for both ver. 2.2 and master and compiled them in VS2012
without any modification at OS windows 7 x64 / windows 2008 r2 x64 enviroment and finished successfully
After installing on VS2010 and clicking:
Tools->Library Package Manager->Package Manager Settings or
Tools->Library Package Manager->Package Manager Console
I'm getting the following exception on debug mode:
Invalid Cast Exception -
Unable to cast object of type 'Microsoft.VisualStudio.ComponentModelHost.ComponentModel' to type 'Microsoft.VisualStudio.ComponentModelHost.IComponentModel'.
on the code:
private IPackageRestoreManager PackageRestoreManager
if (_packageRestoreManager == null)
_packageRestoreManager = ServiceLocator.GetInstance<IPackageRestoreManager>(); //Throws exception
Debug.Assert(_packageRestoreManager != null);
when i'm not debugging (in visual studio 2010) I get the following message box:
The 'NuGet.Tools.NuGetPackage, NuGet.Tools, Version=188.8.131.52, Culture=neutral, PublicKeyToken=null' package did not load correctly.
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file C:\Users\fluman\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'.