Include Resource Files in Separate Project

15 Jun

Sometime it’s necessary to put resource files (globalization and localization) in another project for modularization purpose.

However, in order for the resources files to be available for other project, the access modifier must be made public.

If you found the “Access Modifier” is grey-ed out, change the “Custom Tool” property in the file’s properties to “PublicResXFileCodeGenerator”

Another case is to have this build as “Embedded Resource”. This is not necessary unless you output the library files and drop them to another solution.

Leave a comment

Posted by on June 15, 2012 in General


Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: