Reference from: http://exc.eption.blog.163.com/blog/static/11246421620093111247823/
How to change the default browser of vs2005 Test
Change method:
Open C:/Documents and Settings/Administrator/Local Settings/Application Data/Microsoft/visualstudio/8.0/browsers. xml
(Post author Note: When I started C:/Documents and Settings/sunny/Local Settings/Application Data/Microsoft/visualstudio/8.0/browsers. XML)
<? XML version = "1.0"?>
-<Browserinfo>
-<Browser>
<Name> firefox.exe </Name>
<Path> "F:/progra ~ 1/disable ill ~ 1/Firefox. EXE "</path>
<Resolution> 0 </Resolution>
<Isdefault> false </isdefault>
</Browser>
-<Browser>
<Name> Microsoft Internet Explorer </Name>
<Path> "C:/program files/Internet Explorer/iw.e.exe" </path>
<Resolution> 0 </Resolution>
<Isdefault> true </isdefault>
-<DDE>
<Service> iexplore </service>
<Topicopenurl> www_openurl </topicopenurl>
<Itemopenurl> "% s", 0 xffffffff, 3, </itemopenurl>
<Topicactivate> www_activate </topicactivate>
<Itemactivate> 0 xffffffff, 0 </itemactivate>
</DDE>
</Browser>
-<Internalbrowser>
<Resolution> 0 </Resolution>
<Isdefault> false </isdefault>
</Internalbrowser>
</Browserinfo>,
Change the first <Browser> node, that is, Firefox's <isdefault> to false, and change the iexplore node to true.
Or directly Delete this file.
Of course, you can also directly add the current browser path to the file and set the isdefault attribute to true.