Why isn't Expression Blend giving my custom control? It only shows XAML

I open valid XAML in my VS2008 solution in Expression Blend 3, and it only shows XAML when I try to open individual XAML files. My solutions / projects are all building and working correctly.

When I go to the Viewactive representation of the document design , Split View and XAML View all grayed out ... it does not make much sense.

I don't really like the Blend user, but this has never happened before, and I am figuring out how to fix it. Any ideas?

+2


source to share


3 answers


How did you create your project? Have you used Class Library templates in Visual Studio?

I remember I had a similar problem. You can create a new WPF project and compare CSPROJ to one that doesn't work in Blend. You should be able to see the differences and add missing lines to your CSPROJ.



NTN

+2


source


For me the problem was solved by changing the target structure of the project - I was using 4.5, but Blend could support the max version 4.0 - try this ...



+1


source


open your project file in notepad and add the following line to <PropertyGroup>

<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

      

Found solution here -> link text

0


source







All Articles