在ASP.NET项目的虚拟目录
问题描述:
在我们的web应用程序,我们有驻留项目之外的目录。在IIS这是没有问题的事,但我能做到这一点也在我在Visual Studio中的项目?
In our web application we have a directory which resides outside of the project. On IIS that's no problem to do, but can I do that also in my project in Visual Studio?
编辑:我的项目是在文件系统上运行,而不是在本地IIS
My project is running on File System, and not on Local IIS
答
如果您点击文件|打开|网站
,然后点击本地在对话框的左侧IIS
按钮,然后导航到您的项目文件并打开从那里你会发现虚拟目录包含在解决方案资源管理。
If you click File|Open|Website
and then click on the Local IIS
button on the left-hand side of the dialog, then navigate to your project file and open from there you should find the virtual directories are included in Solution Explorer.