创建asp.net web项目的虚拟目录 [英] Creating virtual directory for asp.net web project

查看:176
本文介绍了创建asp.net web项目的虚拟目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了系统上的Windows 8和我使用的Visual Studio 2012和IIS 8防爆preSS。
当我尝试创建Web项目的虚拟目录的消息框显示类似的错误消息

I have installed windows 8 on my system and I am using visual studio 2012 and IIS 8 Express. when I try to create a virtual directory for web project the message box shows the error message like

无法创建虚拟目录。要在本地IIS Web服务器上访问网站,你必须运行一个管理员帐户下的视觉工作室

请帮助我如何在管理员帐户运行Visual Studio,
谢谢你。

Please help me how to run visual studio under administrator Account, Thank you.

推荐答案

创建asp.net空项目之后创建的asp.net的空项目。打开解决方案资源管理器,然后用鼠标右键单击该解决方案到项目的欢迎使用属性然后去网络选项卡,然后使用IIS作为本地主机,然后chocie后IIS本地主机点击击复选框,然后创建目录的虚拟目录创建

Create the empty project for the asp.net after creating the asp.net empty project . open the solution explorer then right click on the solution go to the propety of the project then go to web tab then use the iis as a local host then after chocie the iis local host click the blow check box then create the directory your virtual directory is created

这篇关于创建asp.net web项目的虚拟目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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