Hello Rudolf,
From what I know about satellite assemblies, they should be loaded
automatically by the .NET Framework when you request resources for the
corresponding culture. The trick is to deploy these assemblies to the
correct location and with correct names - to be exact, to a folder named
exactly as the culture abbreviation (e.g. de-de or en-us), being sub-folder
of the folder containing the plug-in DLL.
So the folder structure will be like this:
application.exe
somelibrary.dll
Plug-ins\
SomePlug-in\
SomePlugin.dll
de-DE\
SomePlugin.de-DE.dll
en-AU
SomePlugin.en-AU.dll
fr-FR
SomePlugin.fr-FR.dll
I'd also suggest reviewing the corresponding sections of MSDN Library as my
memory is not ideal and I could miss something.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Unit Testing and Integration Environment
http://x-unity.miik.com.ua
Deliver reliable .NET software
Rudolf Ball said:
Dear NG,
i want to load a plugin (WinForm) in my Applikation. That works fine.
Now
I
want to globalize that plugin. So I have to load the Satellite Assembly, as
well. But how can I load this (and when?).
Thank you very much
Rudi