Question about resource files

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
 
D

Dave Sexton

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top