Visual studio Error in adding any references OR installing and updating any packages (loading type library/DLL)

柔情痞子 提交于 2019-12-13 21:24:56

问题


Visual Studio 2012 RTM

I have a MVC website project and i have some problem with adding some references;

EDIT:

My Visual Studio has some problems (More info in stackoverflow)

  • I can't add any reference to my projects (even inside new solutions and new projects)

  • I can't install any package (by "Packet Manager Console" or Manage NuGet Package)

  • I can't update any package (by "Packet Manager Console" or Manage NuGet Package)

For example if i update one of my packages, this will be fail with this installation descriptions:

Attempting to resolve dependency 'T4MVCExtensions (≥ 3.5.2)'.

Successfully installed 'T4MVCExtensions 3.5.2'. Successfully installed

'T4MVC 3.5.2'. Updating 'T4MVC' from version '2.10.3' to '3.5.2' in project 'MyWebSite'.

Successfully removed 'T4MVC 2.10.3' from MyWebSite.

Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))

Successfully uninstalled

'T4MVCExtensions 3.5.2'. Install failed.

Rolling back...

Failed to add reference to 'T4MVCExtensions'.

..........................................

...................................

Edit: Or If I add any reference:

.......................

EDIT: I did update the package again when "Process Monitor" software was open and this picture is part of it's log with following filters:

  • Selected Activities: Registry
  • Process Name is devenv.exe
  • Path include TypeLib
  • Result Exclude SUCCESS

(for better view of the below image right click on it and select "View Image")

Key: HKCU\Software\Classes\TypeLib{80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}\8.0

Data: C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\dte80a.olb

... and it is the file>>

What is wrong?

来源:https://stackoverflow.com/questions/15746529/visual-studio-error-in-adding-any-references-or-installing-and-updating-any-pack

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!