每次在Visual Studio中启动项目时如何使用相同的浏览器窗口? [英] How to use the same browser window every time you start a project in Visual Studio?

查看:120
本文介绍了每次在Visual Studio中启动项目时如何使用相同的浏览器窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有人知道每次启动/调试ASP.NET项目时都可以将Visual Studio设置为再次使用同一浏览器窗口,而不是打开一个新窗口吗?

Does anyone know of a way to set Visual Studio to use the same browser window again, instead of opening a new one, every time you start/debug an ASP.NET project?

这是一个简单的问题.当我单击开始调试"以测试我的ASP.NET应用程序时,它将在一个新的浏览器窗口中启动我的项目.

This is a simple issue. When I click 'Start with Debugging' to test my ASP.NET application, it launches my project in a new browser window.

在开发过程中的任何时候,我都会打开近十二个浏览器窗口,这没什么大不了的,但是必须打开开发人员工具并重新设置浏览器设置,这样我才能看到正在发生的事情很烦人.

During development at any one point I have nearly a dozen browser windows open, which is not a big deal, but having to open the developer tools and get the browser setup again so I can see what is going on is annoying.

我已经到处寻找答案,但是我什么都没找到.

I have looked around for an answer to this, but I did not find anything.

推荐答案

不要关闭浏览器窗口,下次只需构建项目,然后返回浏览器并刷新页面即可.托盘中的新图标,表明"ASP.NET开发服务器"正在运行,并且只要该图标在浏览器中就可以使用该项目.

Don't close the browser window, and next time just BUILD the project, and then go back to the browser and refresh your page... there is a new icon in your tray that shows that the "ASP.NET Development Server" is running, and the project is available in the browser as long as this icon is there.

这篇关于每次在Visual Studio中启动项目时如何使用相同的浏览器窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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