简体   繁体   English

无法加载文件或程序集'Microsoft.VisualStudio.TeamSystem.Licensing,用visual studio 2015打开ASP.Net MVC项目后

[英]Could not load file or assembly 'Microsoft.VisualStudio.TeamSystem.Licensing, After opening ASP.Net MVC project with visual studio 2015

I have an ASP.net MVC project which uses meth to compose its parts. 我有一个ASP.net MVC项目,它使用meth来组成它的部分。 Everything was working fine until I opened the project with Visual Studio 2015. Then I received this error... 一切都工作正常,直到我用Visual Studio 2015打开项目。然后我收到此错误...

Could not load file or assembly 'Microsoft.VisualStudio.TeamSystem.Licensing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 无法加载文件或程序集“Microsoft.VisualStudio.TeamSystem.Licensing,Version = 12.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a”或其中一个依赖项。 The system cannot find the file specified. 该系统找不到指定的文件。

I closed the project and opened back up in Visual Studio 2013 and tried to run. 我关闭了项目并在Visual Studio 2013中重新打开并尝试运行。 However now I received the same error in 2013, where it used to work before opening in 2015. Does anyone know the cause of this error and how to correct the problem?? 但是现在我在2013年收到了同样的错误,它曾经在2015年开业前工作。有谁知道这个错误的原因以及如何纠正问题?

I still am not sure why opening the project with Visual Studio 2015 caused this problem. 我仍然不确定为什么用Visual Studio 2015打开项目会导致这个问题。 I can only assume that opening in 2015 added code somewhere that referred to the Microsoft.VisualStudio.TeamSystem.Licensing.DLL library. 我只能假设在2015年开放时添加了一些引用Microsoft.VisualStudio.TeamSystem.Licensing.DLL库的代码。

Cause notwithstanding, to fix, I added Microsoft.VisualStudio.TeamSystem.Licensing.DLL to the project references. 尽管如此,为了解决这个问题,我将Microsoft.VisualStudio.TeamSystem.Licensing.DLL添加到项目引用中。 Once I did that, everything worked fine again. 一旦我这样做,一切都恢复正常。 Hope this helps someone else. 希望这有助于其他人。

I had a similar problem occur in VS2013 today, and I finally solved it in exactly the same fashion, by adding a reference to 'Microsoft.VisualStudio.TeamSystem.Licensing'. 我今天在VS2013中遇到了类似的问题,我最终通过添加对'Microsoft.VisualStudio.TeamSystem.Licensing'的引用以完全相同的方式解决了它。 In my case this occurred when switching project references from embedded interops to using the PIA assemblies directly. 在我的情况下,这是在将项目引用从嵌入式interop切换到直接使用PIA程序集时发生的。 I could not find a setting that controlled this, but fuslogvw left no question as to the culprit. 我找不到控制它的设置,但fuslogvw对罪魁祸首毫无疑问。

暂无
暂无

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

相关问题 在Visual Studio 2015上加载ASP.NET MVC网站时,获取“无法加载文件或程序集'Microsoft.SqlServer.BatchParser,版本= 13.0.0.0” - Getting “Could not load file or assembly 'Microsoft.SqlServer.BatchParser, Version=13.0.0.0” when loading ASP.NET MVC site on Visual Studio 2015 如何修复 Visual Studio 2015 中的错误“无法加载文件或程序集 'Microsoft.VisualStudio.Web”? - How to fix error “Could not load file or assembly 'Microsoft.VisualStudio.Web” in Visual Studio 2015? 无法在 Visual Studio 2019 16.2 中加载文件或程序集 Microsoft.VisualStudio.Coverage.Analysis - Could not load file or assembly Microsoft.VisualStudio.Coverage.Analysis in Visual Studio 2019 16.2 如何在Visual Studio 2015中创建ASP.NET MVC 4项目 - How to Create an ASP.NET MVC 4 project in visual studio 2015 部署到Plesk 12.5的ASP.NET MVC不能加载文件或程序集'Microsoft.IdentityModel - ASP.NET MVC Deployed to Plesk 12.5 throws Could not load file or assembly 'Microsoft.IdentityModel 无法加载文件或程序集-ASP.NET MVC应用 - Could not load file or assembly - asp.net mvc app Visual Studio 2015 WindowsForms应用程序无法加载文件或程序集 - Visual Studio 2015 WindowsForms Application could not load file or assembly 无法加载文件或程序集asp.net - Could not load file or assembly asp.net ASP.net无法加载文件或程序集 - ASP.net Could not load file or assembly 在Microsoft.Net.Compilers上添加依赖项后无法加载Visual Studio 2015项目 - Unable to load Visual Studio 2015 project after adding dependency on Microsoft.Net.Compilers
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM