G
gh0st54
hi
i can't seem to get my globalization to work
here goes
I use vs 2003
I have a main asp.net application let's call it MainApp
I have created folder 'Resources' for my resx files: strings.resx,
strings.fr-CA.resx, strings.en-CA.resx
the 3 resx files use build action : embedded
when i build the folders fr-CA and en-CA are created in my bin and the
files MainApp.resources.dll are in each folder
here is where it gets ugly
in my page load I have
ResourceManager rm = new ResourceManager
("MainApp",Assembly.GetExecutingAssembly());
Response.Write(rm.GetString("String"));
i must get i to work on the asp.net page and on a control in the same page
i builds fine but when i call the page i get :
Could not fint any resources appropriate for the specified culture or
neutral culture in the given assembly . make sure "MainApp.Resources" was
correctly embedded or linked into assembly "MainApp" ........
Am i using the resource manager properly ?
how can i verify that it was embedded and how can i make sure that when i
build it will be embedded ?
thanks
i can't seem to get my globalization to work
here goes
I use vs 2003
I have a main asp.net application let's call it MainApp
I have created folder 'Resources' for my resx files: strings.resx,
strings.fr-CA.resx, strings.en-CA.resx
the 3 resx files use build action : embedded
when i build the folders fr-CA and en-CA are created in my bin and the
files MainApp.resources.dll are in each folder
here is where it gets ugly
in my page load I have
ResourceManager rm = new ResourceManager
("MainApp",Assembly.GetExecutingAssembly());
Response.Write(rm.GetString("String"));
i must get i to work on the asp.net page and on a control in the same page
i builds fine but when i call the page i get :
Could not fint any resources appropriate for the specified culture or
neutral culture in the given assembly . make sure "MainApp.Resources" was
correctly embedded or linked into assembly "MainApp" ........
Am i using the resource manager properly ?
how can i verify that it was embedded and how can i make sure that when i
build it will be embedded ?
thanks