Set default browser when debugging WPF?

Albert Walker picture Albert Walker · Jul 10, 2009 · Viewed 7.1k times · Source

I'm using VWD Express 2008 to develop a WPF Browser Application. When I start debugging, it launches the XBAP in my default browser, which is Opera. Obviously, XBAPs don't work in Opera, so I have to repeatedly right-click on the document to open in IE.

Is there any way to change the settings for PresentationHost.exe so that it always opens with IE? A registry setting, perhaps?

Answer

Lenin Raj Rajasekaran picture Lenin Raj Rajasekaran · Oct 1, 2012

Setup the external program as Internet explorer path and the command line arguments as your path to xbap file within quotes, like shown below:

enter image description here