Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set default browser when debugging WPF?

Tags:

wpf

xbap

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?

like image 877
Albert Walker Avatar asked Jul 10 '09 05:07

Albert Walker


People also ask

How do I open a WPF file in my browser?

Open Windows Explorer, go to the folder that contains the compiled version of your WPF Browser application and double-click the application (the . xbap file). This will launch the application.

How do I change the default browser in Visual Studio 2013?

To change the source default editor: Tools -> Options -> Search for "browser" -> View Source in "external editor" -> put the path to your preferred.


1 Answers

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

like image 147
Lenin Raj Rajasekaran Avatar answered Oct 22 '22 05:10

Lenin Raj Rajasekaran