473,321 Members | 1,778 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,321 software developers and data experts.

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.resources
al /t:lib /embed:strings.de.resources,strings.de.resources /c:DE
/out:MyAppName.strings.resources.dll

The MyAppName.strings.resources.dll 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.strings.resources.dll 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 1927
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.resources.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
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,...
6
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...
0
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...
2
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...
5
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...
3
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
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...
0
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...
1
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...
0
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.