none
shared image library RRS feed

  • Question

  • Hi All,

      I'm looking at doing a central repository of all images used within my solution of 19 projects.  I want to be able to access an image library at design time to add the appropriate images to my different controls.  Is there anyway of doing this...thanks in advance.  BTW, i'm using vs2008.  

    Cheers. 
    Wednesday, October 15, 2008 12:14 AM

All replies

  • You can do this with "resources" (resx) files.  Pick a "main" project to host it, then use Add Existing Item and the drop-down arrow next to the "Add" button that says "Add as link" to apply it to the rest.

    Note that resources are embedded in the EXE or DLL file, so centralizing all your images like this can make these files quite large...

    -Ryan
    Wednesday, November 19, 2008 2:32 AM