Visual Studio Web安装程序 - 在Web根目录(wwwroot)之外部署 [英] Visual Studio Web Setup Project - deploy outside of web root (wwwroot)

查看:468
本文介绍了Visual Studio Web安装程序 - 在Web根目录(wwwroot)之外部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio安装程序来安装Web应用程序。我正在寻找一种方法来更改默认的物理文件安装路径。我想要的最终结果是名为MySite的虚拟目录,指向服务器上的本地路径,如C:\Apps\MySite

I am working with Visual Studio setup projects to install web application. I am looking for a way to change the default physical file installation path. The end result I would like is a Virtual Directory called "MySite" that points to a local path on the server like "C:\Apps\MySite"

是有一个内置的选项来定制这个?

Is there a built-in option to customize this?

推荐答案

否,它将安装在安装网站的物理文件安装路径上,加上虚拟的名称目录。

No, it will install at the physical file installation path of the Web Site where it is installed plus the name of the virtual directory.

这篇关于Visual Studio Web安装程序 - 在Web根目录(wwwroot)之外部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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