473,388 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

loading settelite assemblies?

Hi

i have project (say project A) that contains extra resource files for
different languages. i m using the assembly of this project in to
another project (say project B). the assembly of project A contains
the default resource files but doesnt contain resource files for other
languages. I place the assembly of project A into plugins folder of
project B so that i can load the assembly from there. where should i
place the assemby containing resource files for other languages and
how can i load it in project B?

Regards
Rizwan

Aug 23 '07 #1
1 1359
You place the satellite assemblies in sub-directories of the directory with
the DLL. So if you have C:\myapp\plugins and your DLL is in
C:\myapp\plugins, then the satellite assemblies would go in subdirectories
under plugins, one directory for each language/culture (or just language, I
guess, though I haven't tried that.)

So for Spain Spanish, for example, you'd have: c:\myapp\plugins\es-ES\ and
your satellite assembly would go in there.

Alternatively, you can handle the AppDomain.AssemblyResolve (or maybe it's
AppDomain.ResourceResolve) event and simply tell it where you want it to
find the resource files when it goes looking for them.
<ri***********@gmail.comwrote in message
news:11**********************@e9g2000prf.googlegro ups.com...
Hi

i have project (say project A) that contains extra resource files for
different languages. i m using the assembly of this project in to
another project (say project B). the assembly of project A contains
the default resource files but doesnt contain resource files for other
languages. I place the assembly of project A into plugins folder of
project B so that i can load the assembly from there. where should i
place the assemby containing resource files for other languages and
how can i load it in project B?

Regards
Rizwan

Aug 24 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: JH | last post by:
Is it possible to load an assembly at runtime using reflection where the dll does not have a strong name and is not in the GAC? If not, is it possible to put an assembly into the GAC without a...
9
by: Ender | last post by:
I have an application that I would like third party developers to be able to create Plug-ins that will be dynamically loaded into our application to extend functionality. I have utilized the...
0
by: Thomas W. Brown | last post by:
I have a C# library that dynamically creates a in-memory assembly and creates instances of the objects therein. From .NET applications, this works perfectly well. However, when I wrap this...
0
by: Ashok Mistry | last post by:
Hi all, I have a problem in loading Assembly dynamically through the Reflection. I want to Load an assembly, say, Main.dll. The Main.dll is dependent on a DLL, say Abc.dll, which is placed in...
0
by: Ratul | last post by:
Hi all! I'm writing a winforms test harness which lets me specify a subfolder from which to load a particular .net assembly dll. The idea is that there will be multiple subfolders, each having...
2
by: wzhao2000 | last post by:
Back in COM time, it's possible to use #import statement in cpp to load COM object type info and use it at coding time. When the application is started, the underlying COM DLL will not be loaded...
1
by: icfai | last post by:
hi friends.... I have got a problem regarding loading of multiple assemblies, actually its required for an editor which implements the intellisenseas in vb or dotnet. for that it is required to...
0
by: Michel | last post by:
Hi! I have a question to loading resource-files to my application during runtime. Is it possible to get all languages for which a satellite assembly exist during runtime? I want to show a...
1
by: Jordan S. | last post by:
When an ASP.NET Application first starts, an application pool is created and assemblies loaded into it. How does ASP.NET "know" which assemblies to load - initially - into that application pool?...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.