473,797 Members | 3,160 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Satellite Assemblies using the Assembly Linker

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.reso urces
al /t:lib /embed:strings.d e.resources,str ings.de.resourc es /c:DE
/out:MyAppName.s trings.resource s.dll

The MyAppName.strin gs.resources.dl l 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.strin gs.resources.dl l 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
Nov 22 '05 #1
1 1963
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.resource s.dll got created. Could you
please tell me the step to do it?


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 22 '05 #2

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

Similar topics

1
359
by: Cindy | last post by:
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...
6
3182
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...
2
14853
by: Dan | last post by:
I am creating a c# class library project to be used by some exe clients. This library needs to be localized for its text messages using satellite resource-only assemblies; I have created the library with an embedded resource for the default language and a sample satellite assembly with strings for another language, plus a dummy test client application, but the library always falls back to the default resources. Here's what I do: could...
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
2158
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
1627
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
1
1510
by: scpedicini | last post by:
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.resources.dll. However, let's say that I have a german client who is using both myapi.dll and myapi.de.resources.dll; however, they would like to override a single resource string from myapi.de.resources.dll. Is it possible for them to create a "satellite...
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
9537
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10469
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10246
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
9066
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
7560
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
6803
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
5459
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
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3750
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.