How to debug XamlParseException in WPF?Hi,<br><br>  I am getting XamlParseException for one of my xamls which reads somethign like this. This xaml is for Usercontrol.<br><br><strong><em>&quot;Cannot assign root instance of type &lt;class name of xaml.cs&gt; to &lt;class name of xaml.cs&gt;&quot;. And it is showing error occured at Line 0 and Position 0.</em></strong><br><br>I looked at the Debug -&gt; Output window to find some more exceptions but unfortunately I couldn't found any other than the <strong>XamlParseException. <br><br>Can someone please help me in figuring out the exact issue?<br><br>Thanks,<br>shaba.</strong>© 2009 Microsoft Corporation. All rights reserved.Mon, 02 Mar 2009 13:47:53 Z3c6da626-12d6-4d2a-aeb1-17c5e750fef8http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpwpfdata/thread/3c6da626-12d6-4d2a-aeb1-17c5e750fef8#3c6da626-12d6-4d2a-aeb1-17c5e750fef8http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpwpfdata/thread/3c6da626-12d6-4d2a-aeb1-17c5e750fef8#3c6da626-12d6-4d2a-aeb1-17c5e750fef8narmishabahttp://social.msdn.microsoft.com/Profile/en-US/?user=narmishabaHow to debug XamlParseException in WPF?Hi,<br><br>  I am getting XamlParseException for one of my xamls which reads somethign like this. This xaml is for Usercontrol.<br><br><strong><em>&quot;Cannot assign root instance of type &lt;class name of xaml.cs&gt; to &lt;class name of xaml.cs&gt;&quot;. And it is showing error occured at Line 0 and Position 0.</em></strong><br><br>I looked at the Debug -&gt; Output window to find some more exceptions but unfortunately I couldn't found any other than the <strong>XamlParseException. <br><br>Can someone please help me in figuring out the exact issue?<br><br>Thanks,<br>shaba.</strong>Mon, 02 Mar 2009 13:47:52 Z2009-03-02T13:47:52Z