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

Home Posts Topics Members FAQ

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.myt ext.de-de.resources
/out:myapp.resou rces.dll /fileversion:1.0 .1822.21664 /v:1.0.1822.2166 4

Thanks,
Niranjan
Jul 21 '05 #1
8 4951
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.myt ext.de-de.resources
/out:myapp.resou rces.dll /fileversion:1.0 .1822.21664 /v:1.0.1822.2166 4

Thanks,
Niranjan

Jul 21 '05 #2

"Cowboy (Gregory A. Beamer) - MVP" <No************ @comcast.netNoS pamM> wrote
in message news:81******** *************** ***********@mic rosoft.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.myt ext.de-de.resources
/out:myapp.resou rces.dll /fileversion:1.0 .1822.21664 /v:1.0.1822.2166 4

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.mic rosoft.com> wrote in message
news:l9******** ******@cpmsftng xa10.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/cpgrfassemblyge nerationutility alexe.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.mic rosoft.com> wrote in message
news:H#******** ******@cpmsftng xa10.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/cpgrfassemblyge nerationutility alexe.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.publi c.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.Resourc es.ResourceMana ger resources = new
System.Resource s.ResourceManag er(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.publi c.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
1937
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 applications by which the same can be achieved dynamically. What I intend to do, is provide the client application with a set of Satellite Assemblies. On initialization of application, based on the culture setting for a particular
1
6936
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
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
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!!!!
8
289
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...
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
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
9685
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
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...
1
10209
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
10023
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
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
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...
2
3750
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2934
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.