473,769 Members | 5,601 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Satellite Assemblies... a boring problem

Hi,
i've got a problem woth localized assembly resources.

My app namespace is GM, and i heve 3 languages.. en as default, it and es.

So i've created 3 text resources called:

Messages.txt
Messages.it.txt
Messages.es.txt

so i created the resources using resgen:

resgen Messages.txt GM.Messages.res ources
resgen Messages.it.txt GM.Messages.it. resources
resgen Messages.en.txt GM.Messages.es. resources

and later by al.exe compilated as follow:

al /v:2.3.* /t:lib /embed:GM.Messag es.resources /out:GM.Messages .dll
al /v:2.3.* /t:lib /culture:it /embed:GM.Messag es.it.resources
/out:it/GM.Messages.dll
al /v:2.3.* /t:lib /culture:es /embed:GM.Messag es.es.resources
/out:es/GM.Messages.dll

Under application root i've two folder... it and es
I place dll this way..

root
|
GM.Messages.dll
it/
|
GM.Messages.dll
es/
|
GM.Messages.dll

Anyway.. my resources are never loaded.. what my app uses is always the main
(default) library.

Where i go wrong?????

I'm sure GM is the application NameSpace.
I've tried to call my resources like this

GM.Messages.res ources.dll

but result is the same....
Very bored...
Gianmaria

Nov 17 '05 #1
1 1421
Folders.. it, es, and other localized resources folder where must be
placed??? in the root directory of executable or in the project root
directory???
"Gianmaria I." <no*********@ho thot.it> ha scritto nel messaggio
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
Hi,
i've got a problem woth localized assembly resources.

My app namespace is GM, and i heve 3 languages.. en as default, it and es.

So i've created 3 text resources called:

Messages.txt
Messages.it.txt
Messages.es.txt

so i created the resources using resgen:

resgen Messages.txt GM.Messages.res ources
resgen Messages.it.txt GM.Messages.it. resources
resgen Messages.en.txt GM.Messages.es. resources

and later by al.exe compilated as follow:

al /v:2.3.* /t:lib /embed:GM.Messag es.resources /out:GM.Messages .dll
al /v:2.3.* /t:lib /culture:it /embed:GM.Messag es.it.resources
/out:it/GM.Messages.dll
al /v:2.3.* /t:lib /culture:es /embed:GM.Messag es.es.resources
/out:es/GM.Messages.dll

Under application root i've two folder... it and es
I place dll this way..

root
|
GM.Messages.dll
it/
|
GM.Messages.dll
es/
|
GM.Messages.dll

Anyway.. my resources are never loaded.. what my app uses is always the
main (default) library.

Where i go wrong?????

I'm sure GM is the application NameSpace.
I've tried to call my resources like this

GM.Messages.res ources.dll

but result is the same....
Very bored...
Gianmaria


Nov 17 '05 #2

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

Similar topics

3
7572
by: Nils Erik Asmundvaag | last post by:
Hello I hope someone is able to help me with this frustrating problem. I have a C# web project in Visual Studio .NET 2003. I want to support Swedish and Norwegian texts and have put the texts in resource files (.resx). I build the project from the IDE without errors. A main assembly (containing the Swedish texts) are created, and a resource assembly
1
6935
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.
6
3180
by: James | last post by:
I have two question regarding the version resource that is generated for a satellite assembly. 1) I have a file in my C# console app project called StringResources.en-US.resx. When I build the project, a satellite assembly is built and placed in the appropriate subfolder (en-US). The satellite assembly has a version #, however, none of the other version information that is part of the main app (set in AssemblyInfo.cs) is passed into...
0
1582
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
10058
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
2157
by: BBC1009 | last post by:
Don't know why when rebuild VB.Net project (vb.net 2002 framework 1.0), this error comes out suddenly. Anyone can help. Thanks!!!!
3
1682
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
1626
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
1499
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
0
2317
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
9587
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10045
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...
1
9993
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9863
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...
1
7406
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
6672
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
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3958
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

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.