can't install any nuget package in visual studio 2012. Error HRESULT E_FAIL has been returned from a call to a COM component

The issue was that the solution was in Source control, and I had to 'check out' the project or the package installer would not have permission to update the files. So, after checking out the project I can install packages. Hope this helps someone in the future.


Delete the contents of your packages directory. Then update or re-install jQuery.

You may need to uninstall first using the -force flag.