I'm having issues with Silverlight 4 Out-Of-Browser, as specified in the title.
What I did:
Update project settings to enable Out-Of-Browser. This enabled OOB, but when I ran the app in this way it just displayed a white screen.
What I have done to try to fix this:
- All references to the
System.Windows.Browser.HtmlPage
(to avoid DOM interaction) have been removed as per various sources including this SO question and this blog post. - Remove any references to SizeChangedEventHandler as per this SO question.
- Clean projects/solution, including ideas such as deleting *.suo files as per this blog post
- Uninstalling the installed OOB app, reinstalling
Also:
- As commented on by "kobruleht" here, attempting to attach the debugger does not appear to work. Visual Studio (2010, SP1) reports that it is attached without help from me, but breakpoints are not being hit.
And so:
Can anyone advise on other courses of action? At the very least I'd like to be able to step through and hit breakpoints (or even break on Exceptions!)