473,403 Members | 2,183 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,403 software developers and data experts.

Creating satellite assemblies using al.exe

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 /culture:de-DE /embed:myapp.mytext.de-de.resources
/out:myapp.resources.dll /fileversion:1.0.1822.21664 /v:1.0.1822.21664

Thanks,
Niranjan
Jul 21 '05 #1
8 4878
Is it a requirement that you link the assemblies in this manner (ie, can they
run on their own?).
---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"nbaiju" wrote:
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 /culture:de-DE /embed:myapp.mytext.de-de.resources
/out:myapp.resources.dll /fileversion:1.0.1822.21664 /v:1.0.1822.21664

Thanks,
Niranjan

Jul 21 '05 #2

"Cowboy (Gregory A. Beamer) - MVP" <No************@comcast.netNoSpamM> wrote
in message news:81**********************************@microsof t.com...
Is it a requirement that you link the assemblies in this manner (ie, can they run on their own?).
---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"nbaiju" wrote:
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 /culture:de-DE /embed:myapp.mytext.de-de.resources
/out:myapp.resources.dll /fileversion:1.0.1822.21664 /v:1.0.1822.21664

Thanks,
Niranjan

Jul 21 '05 #3
Hi Niranjan,

I didn't see anything in your reply. Could you try to use /culture:de in
your al.exe parameters?

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #4
Hi Kevin,

Sorry about the blank message. I am trying to automate the build using nant.
I have a resource file mytext.de-de.resx which I convert to
mytext.de-de.resources using resgen. Then i use AL.exe to convert the
mytext.de-de.resources to myapp.resources.dll and place it under
/bin/de-DE/myapp.resources.dll . If i build my solution using MS VS 2003
this resource file is build in this place and the application works without
any error. But if i use resgen and al to create this file and place it in
this directory it does not work. I tried the /culture:de and placed the dll
in /bin/de and the application picked it up. But i need to be
language-country specific for my satellite assemblies.

Thanks,
Niranjan
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> wrote in message
news:l9**************@cpmsftngxa10.phx.gbl...
Hi Niranjan,

I didn't see anything in your reply. Could you try to use /culture:de in
your al.exe parameters?

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #5
Hi niranjan,

Would you please try to put de-DE in quotes as "de-DE" when using AL.exe?
Because according to the document, the cultrure string has to be put in
quotes. You can find more information from the following link:

http://msdn.microsoft.com/library/de...us/cptools/htm
l/cpgrfassemblygenerationutilityalexe.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #6
Hi Kevin,
I tired the quotes with no sucess. The documentation says that the double
quote is required only if there are spaces in the culture string. Is there a
way to see the commands and options MS Visual Studio uses when it builds ?

Thanks,
Niranjan
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> wrote in message
news:H#**************@cpmsftngxa10.phx.gbl...
Hi niranjan,

Would you please try to put de-DE in quotes as "de-DE" when using AL.exe?
Because according to the document, the cultrure string has to be put in
quotes. You can find more information from the following link:

http://msdn.microsoft.com/library/de...us/cptools/htm l/cpgrfassemblygenerationutilityalexe.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #7
Hi Niranjan,

As far as I know, we cannot see the commands that Visual Studio IDE uses in
current version. For this issue, I suggestion you try the
microsoft.public.vsnet.ide group for more information.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #8
I have a very similar problem. When Using Windows Forms, satellite assemblies
work fine when created by the IDE but don't work when embedded using AL.exe.
The problem may be related to how the form creates the resource reference as
in "System.Resources.ResourceManager resources = new
System.Resources.ResourceManager(typeof(Form1));"?

"Kevin Yu [MSFT]" wrote:
Hi Niranjan,

As far as I know, we cannot see the commands that Visual Studio IDE uses in
current version. For this issue, I suggestion you try the
microsoft.public.vsnet.ide group for more information.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #9

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

Similar topics

1
by: Vaishali Patel | last post by:
Hi, I am developing a windows based application that implements the concept of Internationalization. I intend to achieve the same using Satellite Assemblies. Can anyone lead me to useful sample...
1
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...
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...
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!!!!
8
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...
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...
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...
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
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,...
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...
0
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...
0
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,...

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.