set as start page in vs2012

五迷三道 提交于 2019-12-23 03:43:09

问题


back on vs2010 I had the option to choose a web project

set it as start project

and in it, set a specific aspx page as start page

so when I click wrun this page opens in my default browser

How can I set start page in vs2012?


回答1:


Project Properties > Web > Specific Page

Property Pages Settings for Web Projects




回答2:


That has nothing to do with VS2010 or VS2012. Your problem is related to the fact that you use ASP.NET MVC. You don't have a start page because you don't have pages any more.

You could set a link in your browser to your actual start page or as Maxim suggests, you add the link to the project properties (specific page).



来源:https://stackoverflow.com/questions/13580020/set-as-start-page-in-vs2012

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