In my current VSTO project I need a design-time only resource dictionary. I found the following solution and modified it just a bit.

http://social.technet.microsoft.com/wiki/contents/articles/23287.trick-to-use-a-resourcedictionary-only-when-in-design-mode.aspx

I had some problems with the DesignMode detection in that sample so I used the version here… 65 more words