Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: Exception when run the View Switching QuickStart

$
0
0
Hi Kevin,

I just tested the View-Switching Navigation QuickStart of Prism 4 (with Silverlight 4) and of Prism 4.1 (with Silverlight 5) and both worked correctly as out of the box.

As a starting point to understand the cause behind this problem, you could check the exception in order to find more details about why the QuickStart is failing. To do so, you need to:
  1. Enable Silverlight debugging in the Web project: go to ViewSwitchingNavigation.Web's properties > Web > Debuggers > check the Silverlight option.
  2. Put a break point in the Application_UnhandledException method of the App.xaml.cs class of the ViewSwitchingNavigation project.
Then, when you run the QuickStart again, you should be able to find the exception in the ExceptionObject property of the e parameter. Please post your findings so that we can help you further with this.

As a side note, take into account that if you are using Silverlight 5 it's recommended to use the Prism 4.1 version instead of the Prism 4 version.

Regards,

Damian Cherubini
http://blogs.southworks.net/dcherubini

Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>