简体   繁体   中英

Could not load file or assembly Microsoft.VisualStudio.Shell, Version=2.0.0.0

I installed the 4.5.2 framework onto my R2 dev server last week, and have been getting this error, ever since. The files contain no reference to VisualStudio.Shell. Any ideas?

Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Reference.svcmap: Could not load file or assembly 'Microsoft.VisualStudio.Shell, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Source Error:

[No relevant source lines]

Source File: /App_WebReferences/ClientApplicationServer/ Line: 1

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.VisualStudio.Shell, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be loaded.

So I spent about 2 days trying to figure out what the heck was going...

The way I was able to fix it is by adding Microsoft.VisualStudio.Shell to C:\Windows\assembly

But the only way to do that is using gacutil .

gacutil -i Microsoft.VisualStudio.Shell.dll

That fixed it for me. Hopefully it helps someone with the same problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM