无法加载文件或程序集'microsoft.visualstudio.shell,version = 2.0.0.0,culture = neutral,publickeytoken = b03f5f7f11d50a3a'或其中一个依赖项。该系统找不到指定的文件。 [英] 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.

查看:404
本文介绍了无法加载文件或程序集'microsoft.visualstudio.shell,version = 2.0.0.0,culture = neutral,publickeytoken = b03f5f7f11d50a3a'或其中一个依赖项。该系统找不到指定的文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我们有两个项目,一个包含使用AutoMapper,Entityframework和MVC的Web服务,另一个使用这个Web服务。



当我们编译Web服务项目时,它已成功编译。

但是当我们更新其他项目中的Web服务引用并构建时,它显示了下面提到的问题:



Reference.svcmap:无法加载文件或程序集'Microsoft.VisualStudio.Shell,Version = 2.0.0.0,Culture =中性,PublicKeyToken = b03f5f7f11d50a3a'或其依赖项之一。系统无法找到指定的文件。



Web服务使用的是MVC,Entity Framework和AutoMapper软件包。



我尝试过的事情:



我们尝试按照以下方法解决此问题:

1。修复了Visual Studio 2013专业版。

2.重新格式化C盘并重新安装VS 2013

4.使用NuGet管理工具卸载并安装MVC。

5.使用NuGet管理工具卸载并安装实体框架。

6。卸载并安装AutoMapper 4.2.1版本。

7.使用NuGet管理工具使用Update 5更新VS 2013.

8.删除对Microsoft.VisualStudio.Shell dll的任何引用在web.config中。



但仍然无法解决问题。



请帮忙。

解决方案

  是一个bin文件夹,而  


Hi,

We have two projects one containing a Webservice which uses AutoMapper, Entityframework and MVC, and the other uses this web service.

When we compile the Web Service Project it is compiled successfully.
But when we update the Web service reference in the other project and build, it is showing the below mentioned issue:

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.

The web service is using MVC, Entity Framework and AutoMapper packages.

What I have tried:

We tried following things to resolve this issue:
1. Repaired Visual Studio 2013 professional edition.
2. Reformatted C drive and reinstalled VS 2013
3. Tried to add Microsoft.VisualStudio.Shell, Version=2.0.0.0 to GAC.
4. Uninstalled and installed MVC using NuGet Manage tool.
5. Uninstalled and installed Entity framework using NuGet Manage tool.
6. Uninstalled and installed AutoMapper 4.2.1 version.
7. Update VS 2013 with Update 5 using NuGet Manage tool.
8. removed any references to Microsoft.VisualStudio.Shell dll in web.config.

But still could not resolve the issue.

Please help.

解决方案

There is a bin folder, and the dll is not in it.


这篇关于无法加载文件或程序集'microsoft.visualstudio.shell,version = 2.0.0.0,culture = neutral,publickeytoken = b03f5f7f11d50a3a'或其中一个依赖项。该系统找不到指定的文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆