如何将Web服务过程中更改默认的虚拟目录名安装? [英] How do I change the default Virtual Directory name during a web service install?

查看:216
本文介绍了如何将Web服务过程中更改默认的虚拟目录名安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个C#Web服务,创建使用VS2008。

I have a C# web service, created using VS2008.

我有一个创建了微星我用于部署部署项目。

I have a deployment project that creates the MSI I use for deployment.

有没有设置的地方来改变用户在安装过程中提示的默认虚拟目录?

Is there a setting somewhere to change the default virtual directory that the user is prompted with during the installation?

我宁愿没有改变web服务的名称,要做到这一点。

I'd prefer to not change the name of the webservice to do this.

推荐答案

但isn't此右键单击安装项目的一个简单的例子:

But isn´t this a simple case of right-clicking the setup project:

选择查看 - > 文件系统

文件系统资源管理器,点击 Web应用程序文件夹。按 F4 ,弹出属性窗口(如果它已经isn't可见)。

From the File system explorer, click the Web Application Folder. Press F4 to bring up the properties window (if it isn´t already visible).

在属性窗口,向下滚动到 VirtualDirectory 并将其更改为任何你想要的。

In the properties window, scroll down to VirtualDirectory and change it to whatever you want.

这是否对你的工作?

这篇关于如何将Web服务过程中更改默认的虚拟目录名安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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