简体   繁体   English

无法加载文件或程序集 Microsoft.VisualStudio.Shell,版本 = 2.0.0.0

[英]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.上周我在我的 R2 开发服务器上安装了 4.5.2 框架,从那以后一直出现这个错误。 The files contain no reference to VisualStudio.Shell.这些文件不包含对 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.解析器错误消息:Reference.svcmap:无法加载文件或程序集“Microsoft.VisualStudio.Shell,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a”或其依赖项之一。 The system cannot find the file specified.该系统找不到指定的文件。

Source Error:源错误:

[No relevant source lines] [没有相关的源代码行]

Source File: /App_WebReferences/ClientApplicationServer/ Line: 1源文件:/App_WebReferences/ClientApplicationServer/ 行: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.程序集加载跟踪:以下信息有助于确定为什么无法加载程序集“Microsoft.VisualStudio.Shell, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”。

So I spent about 2 days trying to figure out what the heck was going...所以我花了大约 2 天的时间试图弄清楚到底发生了什么......

The way I was able to fix it is by adding Microsoft.VisualStudio.Shell to C:\Windows\assembly我能够修复它的方法是将 Microsoft.VisualStudio.Shell 添加到 C:\Windows\assembly

But the only way to do that is using gacutil .但唯一的方法是使用gacutil

gacutil -i Microsoft.VisualStudio.Shell.dll

That fixed it for me.那为我修好了。 Hopefully it helps someone with the same problem.希望它可以帮助有同样问题的人。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法加载文件或程序集 Microsoft.VisualStudio.Shell,Design Version=14.0.0.0 - Could not load file or assembly Microsoft.VisualStudio.Shell,Design Version=14.0.0.0 无法加载文件或程序集'Microsoft.VisualStudio.DebuggerVisualizers,Version = 9.0.0.0, - Could not load file or assembly 'Microsoft.VisualStudio.DebuggerVisualizers, Version=9.0.0.0, 无法加载文件或程序集“Microsoft.VisualStudio.Threading,版本=16.8.0.0 - Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=16.8.0.0 无法加载文件或程序集Microsoft.Owin.Security.OAuth,Version = 2.0.0.0 - Could not load file or assembly Microsoft.Owin.Security.OAuth, Version=2.0.0.0 无法加载文件或程序集'Microsoft.Azure.CosmosDB.BulkImport,版本= 2.0.0.0 - Could not load file or assembly 'Microsoft.Azure.CosmosDB.BulkImport, Version=2.0.0.0 无法加载文件或程序集'Microsoft.VisualStudio.TestTools.UITesting,版本= 10.0.0.0 mstest使nunit崩溃 - Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0 mstest crashes nunit 无法加载文件或程序集“Microsoft.VisualStudio.Diagnostics.PerformanceProvider,版本=14.0.0.0 - Could not load file or assembly 'Microsoft.VisualStudio.Diagnostics.PerformanceProvider, Version=14.0.0.0 无法加载文件或程序集“Microsoft.VisualStudio.TestPlatform.ObjectModel,版本 = 11.0.0.0” - Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0' 无法加载文件或程序集'Microsoft.VisualStudio.TestTools.UITesting,Version = 10.0.0.0 - Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0 无法加载文件或程序集“Microsoft.VisualStudio.TestTools.UITest.WindowsStoreUtility,版本=15.0.0.0 - Could not load file or assembly 'Microsoft.VisualStudio.TestTools.UITest.WindowsStoreUtility, Version=15.0.0.0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM