By default, when debugging, Silverlight will launch your application in the browser. However, if you application is configured to run in Out of Browser (OOB) mode and is installed on the box you can configure debugging to occur directly in the OOB application window rather than the browser.
To accomplish this follow these steps:
1. Verify your application is installed for OOB use on the box you are debugging from.
2. Open up your application in Visual Studio, right click on Silverlight application in the solution explorer and choose “Properties”.
3. Click on the Debug tab and then click on the “Out-of-browser application” radio button.
4. Finally, right click on your Silverlight application again in the solution explorer and choose “Set as Startup Project”.
Hit F5 and you will be good to go:
Thank you,
–Mike







How to use WebBrowser.InvokeScript?
DEBUG can work but installtion can not work
Nice work
Nice tip, I’ve been developing for a while in Silverlight and didn’t know that…Thanks!
This might or might not work great, but when I’m using MEF it seems to always crash before it even loads. I had the same type of problem with Prism…
Are you saying that VS crashes on F5 if MEF or Prisim is installed?
no no, my program crashes when I try to run it OOB if I’m using MEF or Prism
Nice work -:)