473,657 Members | 2,624 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question about satellite assemblies

Let's say that I've built an assembly, called myapi.dll whose default
resource messages are english. Then let's say I create a german
satellite assembly for the assembly called myapi.de.resour ces.dll.
However, let's say that I have a german client who is using both
myapi.dll and myapi.de.resour ces.dll; however, they would like to
override a single resource string from myapi.de.resour ces.dll. Is it
possible for them to create a "satellite for the satellite", and
override a single string from my german satellite assembly? This would
be very useful to me, but I just can't figure out how to do it.
So the structure would be something like this:
myapi.dll
-- myapi.de.resour ces.dll
-- -- myapi.de.client 1.resources.dll (contains a single resource string
that overrides the equivalent resource string in
myapi.de.resour ces.dll)
Thanks very much for your help,
Shaun Pedicini

Aug 2 '06 #1
1 1500
I don't think the built-in mechanism to manage resources lends itself
to such scenarios, because satellites assemblies have to follow
specific naming conventions to be properly recognized. That said, you
can still manually detect the current culture settings and extract
resources from whatever assembly accordingly. And that gives you extra
flexibility coz now you're responsible for managing the assembly and
you can put it wherever you want to (no need to be in those sub-folders
with culture names).

sc********@gmai l.com wrote:
Let's say that I've built an assembly, called myapi.dll whose default
resource messages are english. Then let's say I create a german
satellite assembly for the assembly called myapi.de.resour ces.dll.
However, let's say that I have a german client who is using both
myapi.dll and myapi.de.resour ces.dll; however, they would like to
override a single resource string from myapi.de.resour ces.dll. Is it
possible for them to create a "satellite for the satellite", and
override a single string from my german satellite assembly? This would
be very useful to me, but I just can't figure out how to do it.
So the structure would be something like this:
myapi.dll
-- myapi.de.resour ces.dll
-- -- myapi.de.client 1.resources.dll (contains a single resource string
that overrides the equivalent resource string in
myapi.de.resour ces.dll)
Thanks very much for your help,
Shaun Pedicini
Aug 3 '06 #2

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

Similar topics

8
4936
by: nbaiju | last post by:
Hi, I am building a asp.net application which has satellite assemblies. When building the satellite assemblies dll's from Visual Studio 2003 GUI the application works fine . i.e. the resource dll's of different cultures are loaded correctly. But When I build the satellite assemblies dll's using al.exe the application defaults to the culture neutral strings. I am using the command line below to build my resource dll's. al /t:lib...
1
6929
by: Afaq | last post by:
Hi, After adding large number of empty resource files (which will be updated later), we are not able to compile the project. the following is the output of the build process. It fails while compiling the Max.UI.Win project with the following error Satellite assemblies could not be built because the main project output is missing.
0
1570
by: thbst16 | last post by:
After a number of weeks of fruitless research and experimentation, I decided to turn to the group with this issue and see if anyone had any experiences or insights that might help me out. Here's what I'm facing: · Deploying Windows Form client using Zero Touch deployment. · I use a variant of Rocky Lhotka's NetRun utility to bootstrap the application. This utility is client resident and sets permissions to "Full Trust" prior to invoking...
5
10053
by: Rudolf Ball | last post by:
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
3
1676
by: Adam Calderon | last post by:
In ASP.NET 2.0 you have the choice of using the built in App_GlobalResoruces or App_LocalResources style of using resources or you can use your own resources utilizing satellite assemblies. In the SDK under "Resources in ASP.NET Applications" the documentation demonstrates how to use your own satellite assemblies and instructs you to build a folder structure under the bin folder. Following all of the correct procedures (taking an resx file...
3
1620
by: gjenglish | last post by:
I have recently migrated an ASP.NET 1.1 web application to ASP.NET 2.0. In this application I am storing all my resources in satellite assemblies and I am accessing them via the ResourceManager object. However, the ResourceManager is no longer returning the resources from the satellite assemblies; it appears that it is always using the fallback resource assembly (neutral); which in my case is the resource assembly that is embedded in the...
0
1493
by: Faris Ahmed | last post by:
Dear ASP newsgroup, I have the following environment: 1) VS2005 ASP.NET 2.0 WebApplication called MyApp. 2) MyApp contains Strings.resx, Strings.en.resx and Strings.de.resx in 'App_GlobalResources' folder. 3) MyApp contains standard AssemblyVersion and AssemblyInformationalVersion
1
1269
by: Jason | last post by:
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
0
2313
by: npthomson | last post by:
Hi all, This could get a bit complicated but I'll try to be as clear as possible. I've written an application that discovers plugins at runtime using reflection from a subdirectory of the application, eg: In the directory the application is installed to: \application.exe \plugins\plugin1.dll
0
8739
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8612
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7347
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6175
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2739
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1732
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.