Localize problem in satellite assembly -
02-26-2005
, 12:53 AM
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 |