简体   繁体   中英

Visual Studio 2013 debugging error Asp.net application

当我调试Asp.net Web应用程序Visual Studio的代码时,会成功构建并编译它,但不会自动启动浏览器..然后,我手动打开浏览器并查看输出,每次更改代码时,输​​出都保持不变..

在Visual Studio中设置默认浏览器

ASP.NET projects:

Right click a webpage (.aspx, or on a folder) Select Browse With... Choose your browser Click Set as Default Click Browse ASP.NET MVC 1 projects:

Right click Default.aspx, then follow steps above.

ASP.NET MVC 2 projects:

As there is no Default.aspx, you need to create a Web Form (right-click project > Add > New Item) and follow the steps above.

Try this:

  1. Right click on your project name. Click "Properties". Your project properties should be displayed.
  2. On "Web" tab of the properties, under "Start Action" group, tick "Current Page" radio button.
  3. Save your settings (ctrl + s).

Hope it helps :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM