I created some design time data from my windows phone 7 application and when I look at designer in Visual Studio (Express), the design time data shows up perfectly fine. However when I try to load the same project in Expression blend 4 I get an error and the design time data doesn't show up.
The error that I get is very generic "Error found in 'my xaml class' " The exact line that it points to is:
<phone:PhoneApplicationPage
...
d:DataContext="{d:DesignData Source=../DesignData/VendorDetailViewDesignData.xaml}"
...
>
I really have no idea what the problem could be since this works fine with the visual studio designer. Do I have to do something different for expression blend?
To create the design time data I basically followed
http://blogs.msdn.com/b/mcsuksoldev/archive/2010/08/27/designdata-mvvm-support-in-blend-vs2010-and-wpf-silverlight.aspx
and took the default windows phone projects that have design time data in them as an example.
The xaml class is in a the folder rootFolder/View/ while the design time data files are in rootFolder/DesignData/
Any help is appreciated! Thanks!
Haji