Start IIS Express without opening default site

醉酒当歌 提交于 2019-12-24 02:06:48

问题


When I launch my MVC4 project from Visual Studio 2012, IIS Express starts and then automatically launches the default page for the default site (i.e. the one I'm working on).

How do I prevent it from opening the default page - is there a config option somwhere?


回答1:


If you want to open a different file in your browser when you start then right-click on a file in your Solution Explorer and choose "Set as start page".

To not do anything (i.e. just start IIS without invoking your browser) then go to your project properties and go to the Web tab. There are some settings there.



来源:https://stackoverflow.com/questions/16063428/start-iis-express-without-opening-default-site

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!