Re: Satellite Assemblies... a boring problem
- From: "Gianmaria I." <nowaytoknow@xxxxxxxxx>
- Date: Fri, 15 Apr 2005 16:42:54 +0200
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." <nowaytoknow@xxxxxxxxx> ha scritto nel messaggio
news:%23WhM2XZQFHA.244@xxxxxxxxxxxxxxxxxxxxxxx
> 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.resources
> 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.Messages.resources /out:GM.Messages.dll
> al /v:2.3.* /t:lib /culture:it /embed:GM.Messages.it.resources
> /out:it/GM.Messages.dll
> al /v:2.3.* /t:lib /culture:es /embed:GM.Messages.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.resources.dll
>
> but result is the same....
>
>
> Very bored...
>
>
> Gianmaria
>
>
>
>
>
.
- References:
- Satellite Assemblies... a boring problem
- From: Gianmaria I.
- Satellite Assemblies... a boring problem
- Prev by Date: Re: help with reading fields in a text file
- Next by Date: Re: Expose a Class from a Referenced Assembly
- Previous by thread: Satellite Assemblies... a boring problem
- Next by thread: Free database for windows ?
- Index(es):
Relevant Pages
|