An error occurend while finding the resource dictionary "../Styles.xaml". RRS feed

  • Question

  • When editing the xaml file in Expression Blend 4, 'Design View' displays an error, and in the 'XAML View' code line is underlined in red, however when the same xaml file is opened in VS2010 SP1, it appears fine.

    This is annoying because VS2010 does not handle .xaml designs nearly as well as Blend does.

    Is there a fix or work-around for Expression Blend to correct this?

    Monday, November 28, 2011 6:23 PM

All replies

  • Could you please post your XAML?
    Monday, November 28, 2011 7:14 PM
  • How did you open the solution in Blend? From VS2010? If you have multiple projects in your Visual Studio solution and then select View|Open in Expression Blend, Blend will only load the selected project (at least for me) so Blend can't see anything outside of the project. Check the Projects tab in Blend and see if your Styles.xaml file is available.

    If you load the solution in Blend directly, it "should" find your Styles.xaml file

    • Proposed as answer by Brian Hilstrom Monday, December 5, 2011 1:58 PM
    Monday, November 28, 2011 7:17 PM