发表在IIS防爆preSS WCF服务应用程序中使用Web部署应用程序、preSS、IIS、Web

2023-09-03 02:18:22 作者:辣条萌主oo

我要发布Visual Studio 2010中的IIS防爆preSS WCF服务应用程序创建的。

I want to publish WCF Service Application created in Visual Studio 2010 on IIS Express.

所以我使用Project - >发布 - >网络部署:

So I'm using Project -> Publish -> Web Deploy:

Service URL: http://localhost
Site/application: wcf

但遇到了一些误理解:

But ran into some miss-understanding:

在网络部署需要一个虚拟目录,它不希望在站点根目录发布 在IIS防爆preSS 不支持虚拟目录 Web Deployment requires a virtual directory, it doesn't want to publish in the site root IIS Express doesn't support virtual directories

我怎样才能完成任务?

推荐答案

拳,你需要指定正确的服务URL,即的http://服务器/ MsDeployAgentService

Fist of all, you need to specify the correct Service URL, i.e. http://server/MsDeployAgentService