Visual Studio 打开默认浏览器而不是 Internet Explorer

问题描述:

当我在 Visual Studio 中调试时,Firefox 会打开,这很烦人,因为 Internet Explorer 和 Visual Studio 具有连接,例如当您关闭启动调试打开的 Internet Explorer 浏览器时,Visual Studio 会停止调试.如何让 Visual Studio 打开 Internet Explorer 而不必将 Internet Explorer 设置为我的默认浏览器?

When I debug in Visual Studio, Firefox opens and that is annoying because of the hookups that Internet Explorer and Visual Studio have, such as when you close the Internet Explorer browser that starting debug opened, Visual Studio stops debugging. How can I get Visual Studio to open Internet Explorer instead without having to set Internet Explorer as my default browser?

Scott Guthrie 在 如何更改 Visual Studio 的默认浏览器:

Scott Guthrie has made a post on how to change Visual Studio's default browser:

1) 右键单击​​您的 .aspx 页面解决方案浏览器

1) Right click on a .aspx page in your solution explorer

2) 选择浏览方式"上下文菜单选项

2) Select the "browse with" context menu option

3) 在对话框中您可以选择或添加浏览器.如果您希望 Firefox 在列表,单击添加"并指向firefox.exe 文件名

3) In the dialog you can select or add a browser. If you want Firefox in the list, click "add" and point to the firefox.exe filename

4) 点击设为默认"按钮使其成为默认浏览器时您在网站上运行任何页面.

4) Click the "Set as Default" button to make this the default browser when you run any page on the site.

然而,我不喜欢这样一个事实,即这并不像它应该的那样简单.

I however dislike the fact that this isn't as straightforward as it should be.