Question about resource files

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

Greetings ,

I'm studying for a MS exam and I'm a little confused about assemblies. Not
what they are but just a specific comment that I'm reading and it doesn't
make sense to me. It reads

"Assembly resource files are preferred for use with localized data that is
not tied directly to the user interface such as message box text"

My question is why wouldn't satellite assemblies be the preferred method
since they are mainly (or only) used for text. In my mind I see satellite
being used to store culture specific strings and resource assemblies being
to images, icons etc. I understand you can store strings in resource
assemblies but I would think that satellites are the preferred method.

Thanks alot !!
J
 
Hi Jason,

Satellite assemblies are assemblies that are composed of resource files.

If you don't need to worry about globalization in your application then
storing resources files in the main assembly is acceptable. Usually, you'll
do this anyway to provide the language-neutral resources.
 
Back
Top