在Nuget上未注册接口(HRESULT异常:0x80040155)

时间:2014-12-01 15:17:56

标签: nuget

直到今天我一直在使用Nuget并突然遇到以下错误:

Interface not registered (Exception from HRESULT: 0x80040155)

未提供更多详情。如果我打开"管理Nuget包"窗口或我打开Nuget控制台。它发生在VS2010,2012年和2013年。我已经尝试过unstinalling并重新安装所有版本而没有任何变化。正如我上周说的那样,我已经更新了VS 2012以更新4,但是不知道为什么会影响其他版本的VS.

有任何建议吗?enter image description here

编辑:我在devenv / log ActivityLog中找到了以下详细信息:

at EnvDTE._DTE.get_Solution()
   
at NuGet.VisualStudio.SolutionManager.get_IsSolutionOpen()
   
at NuGetConsole.Host.PowerShell.Implementation.PowerShellHost.UpdateWorkingDirectory()
   
at NuGetConsole.Host.PowerShell.Implementation.PowerShellHost.Initialize(IConsole console)

1 个答案:

答案 0 :(得分:-1)

所以事实证明问题出在Visual Studio 2012 Update 4.它在某些版本的Visual Studio上以某种方式打破了Nuget。我不得不卸载更新,然后Nuget再次开始工作。