无法加载文件或程序集'microsoft.visualstudio.shell,version = 2.0.0.0,culture = neutral,publickeytoken = b03

编程入门 行业动态 更新时间:2024-10-15 06:22:15
本文介绍了无法加载文件或程序集'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,

本文发布于:2023-11-15 22:30:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1598527.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   找不到   其中一个   加载   程序

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!