How to use resource dictionary in modules at design time?

Topics: Prism v4 - Silverlight 4
Aug 16, 2011 at 9:34 PM
Edited Aug 16, 2011 at 9:35 PM

I have a resource dictionary defined in my <Application.Resources /> in my shell project. In my modules I can use the resources fine, but since the modules are decoupled from the shell until they are loaded at runtime the designer does not show them or recognize them.

Is there a way to make the modules aware of my resources at design time without merging my resource file in every view xaml?

My resource files are in a "common" project.

Aug 17, 2011 at 7:43 PM
Edited Aug 17, 2011 at 7:45 PM


I believe you might find those threads useful, where similar issues are addressed:

I hope you find this helpful.

Agustin Adami

Aug 17, 2011 at 10:25 PM

Thanks Agustin,

I have a solution that seems to be acceptable for now

Have set my resource dictionaries to "Resource" build action and using the design time resources for blend.