Satellite Assemblies using the Assembly Linker

C

Cindy

I'm trying to create a satellite assembly for my winform project but
the resource.dll that gets created with the assembly linker (al.exe)
doesn't get used when the language is specified. However, if I create
the satellite assembly in VS by compiling the project with the the
translated .resx file, then the resource.dll is used.

My project has a default resource file embedded in it (strings.resx).
I
also have a translated version of the file, called strings-de.resx
that is not part of the project. To create the satellite assembly for
this project, I use the follwing lines:

resgen strings.de.resx // creates strings.de.resources
al /t:lib /embed:strings.de.resources,strings.de.resources /c:DE
/out:MyAppName.strings.resources.dll

The MyAppName.strings.resources.dll file that gets created does not
work. After I drop it into the bin\DE directory and run my app
(specifying German culture), the strings are still not translated.

However, if I add the strings.de.resx file to the project and compile
it, then the MyAppName.strings.resources.dll file that gets created
will work.

Why does the VS compiler version work and the assembly linker version
does not? Am I doing something wrong? I have tried several various
naming schemes for the resource files but I always get the same result
-- a .resource.dll file that looks good in ildasm but does not get
used by the project.

Any help with this will be greatly appreciated.

Thanks,
Cindy
 
T

Terence Lee

Unfortunately, I am not giving you answer to your question but instead,
would like to ask for some help.

I am trying to including a string.resx file into my project but when I
compile the project, no string.resources.dll got created. Could you
please tell me the step to do it?
 

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