无法加载文件或程序集'Microsoft.Web.Deployment,版本= 9.0.0.0 [英] Could not load file or assembly 'Microsoft.Web.Deployment, Version=9.0.0.0

查看:63
本文介绍了无法加载文件或程序集'Microsoft.Web.Deployment,版本= 9.0.0.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有VS 2013 Ultimate.我的远程服务器是IIS 7.5,并启用了远程部署.我已经通过Web Platform Installer 4.6安装了Web Deploy Tool 2.1,并且安装成功.

I have VS 2013 Ultimate. My remote server is IIS 7.5 and enabled for remote deployment. I have installed Web Deploy Tool 2.1 through Web Platform Installer 4.6 and it installed successfully.

当我尝试在发布工具上验证从本地计算机到远程服务器的连接时,出现以下错误:无法加载文件或程序集'Microsoft.Web.Deployment,版本= 9.0.0.0,文化=中性,PubliKeyToken = 31bf3856ad364e35或其依赖项之一.系统找不到指定的文件."

When I try to validate connection from to remote server from my local machine on Publish tool, I get following error: "Could not load file or assembly 'Microsoft.Web.Deployment, Version=9.0.0.0, Culture=Neutral, PubliKeyToken=31bf3856ad364e35 or one of its dependencies. The system can not find the file specified."

我了解我的计算机上缺少Microsoft.Web.Deployment.dll.我安装了Web部署工具来安装此程序集.但这并不能解决问题.该程序集未反映在我的可用程序集列表中,无法添加到我的项目中作为参考.

I understand that Microsoft.Web.Deployment.dll is missing from my machine. I installed Web Deployment Tool to install this assembly. But that doesn't solve the issue. The assembly is not reflected in my list of available assemblies to add to my project as reference.

在其他主题中也回答了相同的问题.但是那些并不能解决我的问题.

Same question has been answered in other threads. But those are not solving my issue.

有解决这个问题的主意吗?

Any idea to get around this issue?

关于,苏拉杰

推荐答案

Web Deloy 3.5解决我的问题,您可以从Web Deploy下载3.5,来自 http://www.iis.net/downloads/microsoft/web-deploy
在VS 2013中关闭并重新加载项目.
尝试在连接"选项卡上进行验证发布您的网站.

Web Deloy 3.5 Solve my problem you can download from Web Deploy 3.5, from http://www.iis.net/downloads/microsoft/web-deploy
Close and reload your project in VS 2013.
try to validate at connection tab Publish your site.

这篇关于无法加载文件或程序集'Microsoft.Web.Deployment,版本= 9.0.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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