Visual Studio 2015 RC - 无法添加虚拟目录 [英] Visual Studio 2015 RC - Cant add virtual directory
本文介绍了Visual Studio 2015 RC - 无法添加虚拟目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我最近升级了我的机器,这意味着我必须安装 VS 2015 RC 社区
I recently upgraded my machine which meant I had to install VS 2015 RC community
打开了一个以前的项目,不得不重新创建我以前的所有虚拟目录,只有在我尝试时才发现我收到以下错误消息:
opened a previous project and had to recreate all my previous virtual directories only to find when I try I get the following error message:
'操作无法完成'
选择添加虚拟目录时,输入名称和路径并按回车键.
when simply selecting Add Virtual Directory, enter the name and path and press enter.
有没有其他人知道或知道我如何解决这个问题?
Anyone else had that or got an idea how I get round that?
推荐答案
也许编辑您的 applicationhostfile 会有所帮助.虚拟路径必须是站点的一部分
Maybe editting your applicationhostfile will help. The virtual paths must be part of the site
<!--path of your site-->
<site name="[NAMEOFSITE]" id="[SITEID]">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="[PATHTOSITE]" />
</application>
<!-- virtual path-->
<application path="[VIRTUAL_PATH]" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="[PHYSICAL_PATH_OF_VIRTUAL]" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:[PORTNUMBER]:localhost" />
</bindings>
</site>
这篇关于Visual Studio 2015 RC - 无法添加虚拟目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文