How can I avoid Visual Studio designer errors when a WPF resource is defined in separate project?
I have three projects in a composite WPF application: the main appl
One possible solution is to use DynamicResource rather than StaticResource. The Visual Studio 2008 designer simply displays the controls without any styling, like VS2010 beta 1 does when it cannot resolve a StaticResource.
Using DynamicResource is appropriate in situations where a particular style may change at runtime, like when skinning.
I found some related questions supporting this:
I also found someone who states that DynamicResource should be used whenever a resource is not local: