问题
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