Mike Fielden
Mike Fielden

Reputation: 10153

ANTS Profiler: Change the default browser?

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?

Upvotes: 11

Views: 1511

Answers (4)

Wonko
Wonko

Reputation: 331

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

Upvotes: 0

tonythewest
tonythewest

Reputation: 496

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

Upvotes: 1

Chris Schmich
Chris Schmich

Reputation: 29466

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!

Upvotes: 0

Mel Harbour
Mel Harbour

Reputation: 381

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.

Upvotes: 2

Related Questions