Error assigning file

Sep 20, 2007 at 4:29 PM
When I attempt to view the Design panel of MainWindow.xaml, it indicates an error reading the designer file. The error list indicates the following error:

Error 4 Value 'Skins\Black\BlackResources.xaml' cannot be assigned to property 'Source'. D:\Documents and Settings\pzr96c\My Documents\Visual Studio 2005\Projects\WPF\2.0\FamilyShow\App.xaml 11 29 FamilyShow
Mar 5, 2009 at 2:02 PM
I have got the same error. Anyone resolved already this issue?
Coordinator
Mar 6, 2009 at 7:11 AM
Hi folks,

What do you mean by Design panel?    Are you talking about Design View in Cider (if so, what version are you running)?? Design View in blend?

 I am runnign VS 2008 SP1 and the MainWindow  opens fine..

If you want to try something, feel free to change  App.xaml to be

<ResourceDictionary Source="pack://application:,,,/FamilyShow;component/Skins/Black/BlackResources.xaml"  />  That might help...

more details on that at:
http://blogs.msdn.com/jaimer/archive/2009/02/15/using-uris-in-expression-blend.aspx 


I hope that helps.  Please share details on your scenario so we can fix it for all ..
Cheers,