471,337 Members | 1,178 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Localization problem in satellite assembly

Hi,

I have a C# form called "Form1" with namespace of "WindowsApp". The
projec namespace is also"WindowsApp". I have also created a User
control called "Seat" with namespace called "MyCar".
Now in my "Seat" user control, the resource file "Seat.en.resx" is not
getting loaded using the resourcemanager. The localise property has
been set to True.
It is not allowing to load the resource file as the above two
namespaces are different. If both namespace are same, then the
resource file is loaded and the respective values are shown, else it
falls back to "Seat.resx".

The following is the ildsam values from manifest
in WindowsApp.exe:
-------------------------------------------------
..mresource public MyCar.Seat.resources
{
}
..mresource public WindowsApp.Form1.resources
{
}
..module WindowsApplication2.exe
// MVID: {8900BF29-3217-4583-9838-364C2EC620BD}
..imagebase 0x00400000
..subsystem 0x00000002
..file alignment 4096
..corflags 0x00000001
// Image base: 0x07240000

-------------------------------------------------

in WindowsApp.resources.dll

..assembly WindowsApp.resources
{
.hash algorithm 0x00008004
.ver 1:0:1882:38322
.locale = (65 00 6E 00 00 00 ) //
e.n...
}
..mresource public WindowsApp.MyCar.Seat.en.resources
{
}
..module WindowsApp.resources.dll
// MVID: {B90ACA56-CBAC-4616-825B-2C369AE037D6}
..imagebase 0x00400000
..subsystem 0x00000003
..file alignment 512
..corflags 0x00000001
// Image base: 0x072f0000

-------------------------------------------------

Any help is appreciated
Regards
Ravi
Jul 21 '05 #1
0 896

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Kallis | last post: by
3 posts views Thread by jmjacquel | last post: by
1 post views Thread by Manish Pansiniya | last post: by
5 posts views Thread by Hannes Schmiderer | last post: by
reply views Thread by Stoyan | last post: by
1 post views Thread by feripar | last post: by
1 post views Thread by Yoavo | last post: by

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.