tags:

views:

195

answers:

0

hi, i get an exception which drives me crazy.

There isn't a StackPanel in this XAML. (StackPanel was removed already)

System.Windows.Markup.XamlParseException occurred Message=" Unable to cast object of type 'System.Windows.Controls.StackPanel' to type 'System.Windows.Controls.ListView'. Error at object 'System.Windows.Controls.StackPanel' in markup file 'C2;component/projectoverviewpage.xaml'."

SOLVED: The XAML was valid. I created a new page, copied XAML and C# into the new page, then i got a IOException for the new page (resource not found), then deleting of the bin- and obj-folder and re-compile. FIN.

the new page contains the stackpanel and it works-> XAML wasn't the fault.