If you can get a dump of the process when it crashes, please do so and post a link to it here. Otherwise, I recommend that you open a support case for assistance and we can walk you through the issue.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces.