Visual Studio 2012 change web browser

前端 未结 11 1371
天命终不由人
天命终不由人 2020-12-16 09:18

If I click control-click a hyperlink in the text editor, it opens the URL in a new Visual Studio tab. I would rather the link open outside Visual Studio in

11条回答
  •  甜味超标
    2020-12-16 09:45

    I found a way to change the default browser for all actions in Visual Studio Express 2012 for Web. It's documented here:

    By default, Visual Studio uses your default browser to test pages. To use a different browser or Page Inspector, right-click [an .aspx] page in [the] Solution Explorer and then click [...] Browse With [, which] lets you select a browser from a list, add new browsers to the list, or set one as the default browser. (The default browser setting here applies only to the Visual Studio environment and not to Windows.)

    This also changes the default browser for F5'ing an MVC project, because I'm used to closing IE to stop debugging. When I let Visual Studio use my system's default browser, I first have to switch back to it from my browser to stop debugging, because closing the browser tab doesn't.

    Unfortunately it still doesn't open links in comments in a browser.

提交回复
热议问题