Hi,

I have a solution with two projects : Client.exe and Library.dll.
The app client.exe reference the project library.dll. The solution is set up
to deploy only the exe file (to avoid the dll to create a folder in program
files, but the dll is deployed along the exe file).

Noth client.exe and library.dll have resource files that are localized (ex:
errors.resx, errors.fr.resx, form1.resx, form1.fr.resx, etc.).
When I deploy the solution with VS 2005, the client.exe file and its
sattelite assemblies are deployed, but for the library.dll assembly, only
the dll itself is deployed, not the localized sattelite assemblies.

Is there anything I missed in order to make VS deploy localized resources
for a class library ?

Thanks,
Steve

RE: [CF2.0] Class library and localized resources by srhartone

srhartone
Fri Nov 03 11:17:01 CST 2006

You need to specify the localized .resx files under the Properties folder for
the Library project.

Regards
Simon.

"Steve B." wrote:

> Hi,
>
> I have a solution with two projects : Client.exe and Library.dll.
> The app client.exe reference the project library.dll. The solution is set up
> to deploy only the exe file (to avoid the dll to create a folder in program
> files, but the dll is deployed along the exe file).
>
> Noth client.exe and library.dll have resource files that are localized (ex:
> errors.resx, errors.fr.resx, form1.resx, form1.fr.resx, etc.).
> When I deploy the solution with VS 2005, the client.exe file and its
> sattelite assemblies are deployed, but for the library.dll assembly, only
> the dll itself is deployed, not the localized sattelite assemblies.
>
> Is there anything I missed in order to make VS deploy localized resources
> for a class library ?
>
> Thanks,
> Steve
>
>
>

Re: [CF2.0] Class library and localized resources by Steve

Steve
Mon Nov 06 03:58:54 CST 2006

Hte library also contain forms ... I cannot choose the location of the resx
files ... doesn't it ?

Steve


"Simon Hart" <srhartone@yahoo.com> a écrit dans le message de news:
60AD3D2C-C396-4E9B-B214-DFE5A7742662@microsoft.com...
> You need to specify the localized .resx files under the Properties folder
> for
> the Library project.
>
> Regards
> Simon.
>
> "Steve B." wrote:
>
>> Hi,
>>
>> I have a solution with two projects : Client.exe and Library.dll.
>> The app client.exe reference the project library.dll. The solution is set
>> up
>> to deploy only the exe file (to avoid the dll to create a folder in
>> program
>> files, but the dll is deployed along the exe file).
>>
>> Noth client.exe and library.dll have resource files that are localized
>> (ex:
>> errors.resx, errors.fr.resx, form1.resx, form1.fr.resx, etc.).
>> When I deploy the solution with VS 2005, the client.exe file and its
>> sattelite assemblies are deployed, but for the library.dll assembly, only
>> the dll itself is deployed, not the localized sattelite assemblies.
>>
>> Is there anything I missed in order to make VS deploy localized resources
>> for a class library ?
>>
>> Thanks,
>> Steve
>>
>>
>>