简体   繁体   English

使用IIS重新映射/创建Project文件夹的虚拟目录

[英]Remap/Create Virtual Directory for Project folder with IIS

I am getting following message while opening my project in Web Application. 我在Web应用程序中打开项目时收到以下消息。

The Web project 'MyProjectName' is currently configured to use the URL 'http://localhost/ProjectName'. Web项目“MyProjectName”当前配置为使用URL“http:// localhost / ProjectName”。 The Web server has this URL mapped to a different folder 'Physicalpath of the project'. Web服务器将此URL映射到不同的文件夹“项目的物理路径”。 Would you like to remap this URL to point to this Web project's folder? 是否要将此URL重新映射为指向此Web项目的文件夹?

Any Idea how to disable/enable this message ? 任何想法如何禁用/启用此消息?

you have two options: 你有两个选择:

a) either update the url of the project and create a new virtual directory for the project a)更新项目的URL并为项目创建新的虚拟目录

or 要么

b) update the path of the site that you have already configured by navigating to inetmgr and then updating the path to the new location b)通过导航到inetmgr更新已配置站点的路径,然后更新到新位置的路径

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM