How to Share a Resource File Across CAB Projects

Topics: CAB & Smart Client Software Factory
Feb 27, 2007 at 7:26 PM
Does anyone have any ideas on how to share a single resource file throughout the various modules/projects in a CAB application? For example, we need to localize our application, and would like to have a single resource file for each language, and then be able to use that same resource file in all of the modules/projects, as opposed to having to create resource files in each specific project in the app. Thanks.
Feb 27, 2007 at 9:39 PM
Hello,

I have done this at work (one for strings and one for images).
This is not so hard at all.
Take a look at the classes under System.Resources.
I believe I have done this with the ResourceManager (it has been too long since I looked at that code).

or you could use the resource application block.
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=d2f9017d-6efb-4901-8f0e-7b533e4e527c

I haven't used this app-block myself, but it seems usefull if you need to start on it.

Best regards,
Ike