Wednesday, July 21, 2010

Debugging an OOB Silverlight Business Application

Recently, we came across a bug with the Silverlight Business Application with respect to an Out of Browser application. In the RTM bits for Silverlight 4 Tools a new feature was added to enable a better debugging experience with Out of Browser application. The feature basically launched the app in OOB window when run with the debugger attached. If you have tried that with the business application template, you will notice that the app does not run. It crashes with an exception, that the URI path is not valid.

We realize this is an issue most folks are running into and we have fixed this template and we are looking ways to get you access to it. However, there is a relatively easy workaround to fix this issue.

The steps involved are :-

Create a new or open up an existing application that was created using the BusinessApplicationTemplate
Once the project is open, go to the Project Properties page for the Silverlight Application.
In that, first uncheck the OOB option which is enabled by default


Save the project
Close the Project Property Page
Open the Project Property page again
Then go ahead and check the OOB option.

Read more: @deepeshm

Posted via email from .NET Info