Putting binary resources (images) in a separate assembly (WPF/.NET)

Posted by haagel on Stack Overflow See other posts from Stack Overflow or by haagel
Published on 2010-03-22T07:58:00Z Indexed on 2010/03/22 8:01 UTC
Read the original article Hit count: 256

Filed under:
|
|
|

I have a .NET solution with a couple of projects. The output is a WPF application. Now I would like to put my binary resources (images/icons) in a single project/assembly in this solution, so that all my other projects in can use them.

My question is how I can do that? What type of project should I create and how should I reference these resources in my XAML code (in the other projects)?

I've tried quite a few things but I can't seem to get it to work...

© Stack Overflow or respective owner

Related posts about wpf

Related posts about .NET