發問發問
 

問題How to debug XamlParseException in WPF?

  • Monday, 2 March, 2009 13:47narmishaba 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Hi,

      I am getting XamlParseException for one of my xamls which reads somethign like this. This xaml is for Usercontrol.

    "Cannot assign root instance of type <class name of xaml.cs> to <class name of xaml.cs>". And it is showing error occured at Line 0 and Position 0.

    I looked at the Debug -> Output window to find some more exceptions but unfortunately I couldn't found any other than the XamlParseException.

    Can someone please help me in figuring out the exact issue?

    Thanks,
    shaba.