ANTS Profiler: Change the default browser?
Asked Answered
Q

4

11

I cannot find this information anywhere.

Within Visual Studio I'm using the ANTS Profiler add-on. It always launches IE. My default browser is Firefox. I cannot find a setting anywhere where I can change the default.

Can someone help?

Quintessence answered 2/11, 2009 at 22:25 Comment(4)
Is your operating system default browser FireFox or the VS 2008 default browser? If you right click on an aspx file the context menu has a Browse With menu item. This is where you set the default browser for Visual Studio.Stanleigh
Yeah its set to Chrome currently. I tried changing it to Firefox but got the same results.Quintessence
Are you trying to profile a web app? If so, when you debug your application from VS, which browser gets launched? Which version of ANTS are you running?Fairleigh
Yes its a web app. IE gets launched from VS. Profiler v5.1.0.14Quintessence
C
1

There is no option to set the your browser default within Visual Studio. Instead you can use PowerShell to accomplish this. See the following for details:

http://www.hanselman.com/blog/HowToChangeTheDefaultBrowserInVisualStudioProgrammaticallyWithPowerShellAndPossiblyPokeYourselfInTheEye.aspx

Clermontferrand answered 14/9, 2010 at 16:31 Comment(0)
L
2

Unfortunately, at the moment, ANTS can only start IE, rather than your current default browser. For now, you would have to use the workaround of starting the profiling session, and then starting whichever browser you want to use manually.

Lysis answered 28/6, 2010 at 11:22 Comment(0)
C
1

There is no option to set the your browser default within Visual Studio. Instead you can use PowerShell to accomplish this. See the following for details:

http://www.hanselman.com/blog/HowToChangeTheDefaultBrowserInVisualStudioProgrammaticallyWithPowerShellAndPossiblyPokeYourselfInTheEye.aspx

Clermontferrand answered 14/9, 2010 at 16:31 Comment(0)
W
0

You could always try messing with the wild-and-crazy Image File Execution Options setting in the registry. If ANTS will only start IE, then you can set firefox.exe to be the "debugger" for iexplore.exe. Following the steps in the link above, you could add a key for iexplore.exe and set the "Debugger" string value to the full path for firefox.exe. Then, whenever anything tries to launch IE, Firefox will start instead.

Just remember to remove the key when you're finished!

Witter answered 15/8, 2010 at 18:18 Comment(0)
U
0

Yes, there is a way now, in version 8 you can choose the browser that you want to launch.

Unprepared answered 14/7, 2014 at 13:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.