Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Commented Issue: Failed to install any package (VS 2012 RC) [2428]

$
0
0
There is a similar Closed Issue (http://nuget.codeplex.com/workitem/1790?ProjectName=nuget) with no realy answer. I get the same error with VS2012 RC and NuGetPackage manager 2.0.30619.9119 However if I want to add Log4Net to .Net Application i get :

PM> Install-Package Log4Net
Successfully installed 'log4net 2.0.0'.
Successfully uninstalled 'log4net 2.0.0'.
Install failed. Rolling back...
Install-Package : Failed to add reference to 'log4net'.
At line:1 char:16
+ Install-Package <<<< Log4Net
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

Comments: I experienced exactly the same problem running VS2012 SP1. Also QueryInterface for VSLangProj failed. For me, reregistering the typelib solved the problem. C:\Program Files\Common Files\microsoft shared\MSEnv>c:\dat\regtlibv12.exe vslan gproj.olb Registration of vslangproj.olb successful.

Viewing all articles
Browse latest Browse all 7612

Trending Articles