[英]Not able to run Visual Studio Project
Hi I don't know what I did, when I try to run visual studio project by pressing F5, I can see only loading symbol in browser but not displaying anything. 嗨,我不知道我做了什么,当我尝试通过按F5键运行Visual Studio项目时,我只能看到在浏览器中加载符号,却什么也没显示。 When I checked whats going on, I got to know it is running on IIS Express and not on ASP.net development server.
当我检查发生了什么时,我知道它正在IIS Express上运行,而不是在ASP.net开发服务器上运行。 What changes I should do to make my project to run on ASP.NET development server?
为了使我的项目在ASP.NET开发服务器上运行,我应该做哪些更改?
In the properties of your web project you can see the start options which has a server option. 在Web项目的属性中,您可以看到带有服务器选项的开始选项。
Also if you right click your web project you can see option to use IIS express or dvelopment server. 另外,如果您右键单击Web项目,则可以看到使用IIS Express或开发服务器的选项。
Don't worry , this is not big issue . 别担心,这不是大问题 。
Just open your csproject
file into notepad. 只需将您的
csproject
文件打开到记事本中即可。
And find this line in your csproject
并在您的
csproject
找到这一行
<UseIISExpress>True</UseIISExpress>
Then change True to false 然后将True更改为false
<UseIISExpress>false</UseIISExpress>
And save that ,then you can run your project . 保存,然后就可以运行项目了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.