<p>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?</p>

[{'answer_id': 79964, 'author': 'tsimon', 'author_id': 1685, 'author_profile': 'https://Stackoverflow.com/users/1685', 'pm_score': 5, 'selected': False, 'text': "<p>Right-click on an aspx file and choose 'browse with'. I think there's an option there to set as default.</p>\n"}, {'answer_id': 79965, 'author': 'Jon Limjap', 'author_id': 372, 'author_profile': 'https://Stackoverflow.com/users/372', 'pm_score': 9, 'selected': True, 'text': '<p>Scott Guthrie has made a post on <a href="http://weblogs.asp.net/scottgu/archive/2005/11/18/430943.aspx" rel="noreferrer">how to change Visual Studio\'s default browser</a>:</p>\n\n<blockquote>\n  <p>1) Right click on a .aspx page in your\n  solution explorer</p>\n  \n  <p>2) Select the "browse with" context\n  menu option</p>\n  \n  <p>3) In the dialog you can select or add\n  a browser.  If you want Firefox in the\n  list, click "add" and point to the\n  firefox.exe filename</p>\n  \n  <p>4) Click the "Set as Default" button\n  to make this the default browser when\n  you run any page on the site.</p>\n</blockquote>\n\n<p>I however dislike the fact that this isn\'t as straightforward as it should be.</p>\n'}, {'answer_id': 79966, 'author': 'rp.', 'author_id': 2536, 'author_profile': 'https://Stackoverflow.com/users/2536', 'pm_score': 2, 'selected': False, 'text': '<p>In the Solution Explorer, right-click any ASPX page and select "Browse With" and select IE as the default.</p>\n\n<p>Note... the same steps can be used to add Google Chrome as a browser option and to optionally set it as the default browser.</p>\n'}, {'answer_id': 1189612, 'author': 'jasonpenny', 'author_id': 28445, 'author_profile': 'https://Stackoverflow.com/users/28445', 'pm_score': 3, 'selected': False, 'text': '<p>Also may be helpful for ASP.NET MVC:</p>\n\n<blockquote>\n  <p>In an MVC app, you have to right-click\n  on Default.aspx, which is the only\n  ‘real’ web page in that solution. The\n  default page displays ‘Browse with…’</p>\n</blockquote>\n\n<p>From <a href="http://avaricesoft.wordpress.com/2008/08/04/change-the-default-browser-in-visual-studio-2008-and-visual-web-developer/" rel="noreferrer"><a href="http://avaricesoft.wordpress.com/2008/08/04/" rel="noreferrer">http://avaricesoft.wordpress.com/2008/08/04/</a>...</a></p>\n'}, {'answer_id': 2501770, 'author': 'Geoff', 'author_id': 300106, 'author_profile': 'https://Stackoverflow.com/users/300106', 'pm_score': 2, 'selected': False, 'text': "<p>Quick note if you don't have an .aspx in your project (i.e. its XBAP) but you still need to debug using IE, just add a htm page to your project and right click on that to set the default. It's hacky, but it works :P</p>\n"}, {'answer_id': 3710985, 'author': 'Tim Santeford', 'author_id': 78685, 'author_profile': 'https://Stackoverflow.com/users/78685', 'pm_score': 7, 'selected': False, 'text': '<p>In Visual Studio 2010 the default browser gets reset often (just about every time an IDE setting is changed or even after restarting Visual Studio). There is now a default browser selector extension for 2010 to help combat this:</p>\n\n<p><strong>!!!Update!!!</strong> It appears that the WoVS Default Browser Switcher is no longer available for free according to <a href="https://stackoverflow.com/users/74757/cory">@Cory</a>. You might try <a href="http://visualstudiogallery.msdn.microsoft.com/233945ae-0b7b-47e7-9b02-c5a11798afb5" rel="nofollow noreferrer">Default Browser Changer</a> instead but I have not tested it. If you already have the WoVS plugin I would recommend backing it up so that you can install it later.</p>\n\n<p><strong>The following solution may no longer work:</strong></p>\n\n<p><strong>WoVS Default Browser Switcher</strong>: \n<a href="http://visualstudiogallery.msdn.microsoft.com/en-us/bb424812-f742-41ef-974a-cdac607df921" rel="nofollow noreferrer">http://visualstudiogallery.msdn.microsoft.com/en-us/bb424812-f742-41ef-974a-cdac607df921</a></p>\n\n<p><img src="https://i.stack.imgur.com/EJESt.png" alt="WoVS Default Browser Switcher "> </p>\n\n<p><strong>Edit:</strong> This works with <strong>ASP.NET MVC</strong> applications as well.</p>\n\n<p><strong>Note:</strong> One negative side effect of installing this extension is that it seems to nag to be updated about once a month. This has caused some to uninstall it because, to them, its more bothersome then the problem it fixes. Regardless it is easily updated through the extension manager and I still find it very useful.</p>\n\n<p>You will see the following error when starting VS:</p>\n\n<blockquote>\n  <p>The Default Browser Switcher beta bits have expired. Please use the\n  Extension Manager or visit the VS Gallery to download updated bits.</p>\n</blockquote>\n'}, {'answer_id': 6338587, 'author': 'Misho', 'author_id': 796936, 'author_profile': 'https://Stackoverflow.com/users/796936', 'pm_score': 3, 'selected': False, 'text': '<p>If you\'re running an MVC 3 application - in your solution explorer click the show all files icon and then under the Global.asax file there should be a file called YourProjectName.Publish.XML right-click it and then click "Browse With..." and select your favorite browser as the default.</p>\n'}, {'answer_id': 7610169, 'author': 'Davut Gürbüz', 'author_id': 413032, 'author_profile': 'https://Stackoverflow.com/users/413032', 'pm_score': 1, 'selected': False, 'text': "<p>You may debug by firefox also. </p>\n\n<p>Follow these steps: <code>Tool</code>-><code>Attach to process</code> and select <code>firefox.exe</code> or your default browser. Then debugger will work with this browser. But I had some trouble when firefox is 32 bit and and VS2010 is 64 bit. </p>\n\n<p>Anyway right click the current document, browse with <code>--&gt;</code> than choose your browser, than set it as default. This way is better. B'cause firefox's process id may change, so you will be annoyed for attaching the process again.</p>\n"}, {'answer_id': 10815497, 'author': 'Ani', 'author_id': 779968, 'author_profile': 'https://Stackoverflow.com/users/779968', 'pm_score': 5, 'selected': False, 'text': '<p>For <strong>MVC3</strong> you <em>don\'t have to</em> add any dummy files to set a certain browser. All you have to do is:</p>\n\n<ul>\n<li>"Show all files" for the project</li>\n<li>go to bin folder</li>\n<li>right click the only .xml file to find the "Browse With..." option</li>\n</ul>\n\n<p><img src="https://i.stack.imgur.com/dWpO3.png" alt="setting MVC3 project default browser"></p>\n'}, {'answer_id': 12141847, 'author': 'Jennelle', 'author_id': 1627633, 'author_profile': 'https://Stackoverflow.com/users/1627633', 'pm_score': -1, 'selected': False, 'text': "<p>Another way is to do the following in Visual Studio:</p>\n\n<ol>\n<li>Select Debug</li>\n<li>Options and Settings</li>\n<li>Expand Environment</li>\n<li>Select Web Browser</li>\n<li>Click the '<strong>Internet Explorer Options</strong>' button</li>\n<li>Select the '<strong>Programs</strong>' tab</li>\n<li>Select '<strong>Make Default</strong>' button for Internet Explorer</li>\n</ol>\n"}, {'answer_id': 31257293, 'author': 'user5087270', 'author_id': 5087270, 'author_profile': 'https://Stackoverflow.com/users/5087270', 'pm_score': 0, 'selected': False, 'text': '<p>You mentioned Visual Studio. This is for Visual Studio 2013. In the "Menu and Tools" in the second line , right below Debug you have a dropdown box giving you the list / option of "Emulators" .Your IE should be in the option , select that and you are good to go. Easy way .</p>\n'}, {'answer_id': 43505066, 'author': 'Bryan Legend', 'author_id': 52771, 'author_profile': 'https://Stackoverflow.com/users/52771', 'pm_score': 1, 'selected': False, 'text': '<p>With VS 2017, debugging ASP.NET project with Chrome doesn\'t sign you in with your Google account.</p>\n\n<p>To fix that go to Tools -> Options -> Debugging -> General and turn off the setting Enable JavaScript Debugging for ASP.NET (Chrome and IE).</p>\n\n<p><a href="https://i.stack.imgur.com/WOXe1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WOXe1.png" alt="https://msdnshared.blob.core.windows.net/media/2016/11/debugger-settings-1024x690.png"></a></p>\n'}, {'answer_id': 43731185, 'author': 'Giri', 'author_id': 7950373, 'author_profile': 'https://Stackoverflow.com/users/7950373', 'pm_score': 1, 'selected': False, 'text': '<p>In visual studio 2013, this can be done as follows:</p>\n\n<p>1) Ensure you have selected a start up project from your solution explore window\n2) This brings a drop down to the left of the debug drop down. You can choose browser from this new drop down. </p>\n\n<p>Key is there should be a project selected as start up</p>\n'}, {'answer_id': 55870382, 'author': 'CPHPython', 'author_id': 6225838, 'author_profile': 'https://Stackoverflow.com/users/6225838', 'pm_score': 0, 'selected': False, 'text': '<p>Your project <strong>might not have aspx files</strong> since it might be another kind of web project.</p>\n\n<p>However, if it has a <strong><em>ClientApp</em> folder</strong>:</p>\n\n<ol>\n<li>go to the standard view of the <em>Solution Explorer</em> (<kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>L</kbd>) where you can find <em>your-project</em> name solution (click on the folders icon at the top to be sure (saying "Solutions and Folders"))</li>\n<li><strong>right-click on the <em>ClientApp</em> folder</strong> itself</li>\n<li><em>Browse with...</em> will show up near the top (near <em>View in Browser</em> option), click on it and the browsers dialog shows up</li>\n<li>click on your preferred browser</li>\n<li>click on <em>Set as Default</em></li>\n<li>click on <em>Browse</em> to confirm (this will open the browser you just chose on that folder)</li>\n</ol>\n'}]
['https://Stackoverflow.com/questions/79954', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/590/']