Thursday, June 7, 2012

Expression Blend 4 does not open design mode for Silverlight Navigation Application.

When you are trying to open a .xaml file in expression blend from visual stodio, whether the design view will be loaded or not, will depend on the type of the project. In same cases, you need to edit the .csproj file by adding this code in the first line of the property group:

<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids>

However, that did not solve the problem in my case. I was using silverlight 5, and expression blend 4. From visual studio 2010, I need to change the "Target Silver Light version" to silverlight 4 from the properties of the project, only then I could open .xaml pages in expression blend with design view.