G
Guest
Hi everyone.
i'm having some problems with the global resources in asp.net 2.0. i boiled
it doen to this:
i create a brand new website and add an App_GlobalResources folder. I then
add to this folder 2 resource files named:
MyResource.resx
MyResource.yi.resx
Then I build the site and get the following Error Message in the Error List:
The namespace 'Resources' already contains a definition for 'MyResource'
In file: App_GlobalResources.sg8-m9lm.1.cs
What I find is that if I change the "yi" to, for instance, "fr", then there
is no error. additionally if i rename the "MyResource.resx" to something else
like "MyOtherResource.resx", then it builds Ok, but then I dont have
strong-typed access to the rsource files.
What can the problem be? I would appreciate any lead. On google I didn't get
a single reference to this specific problem.
Thankfully,
YisMan
i'm having some problems with the global resources in asp.net 2.0. i boiled
it doen to this:
i create a brand new website and add an App_GlobalResources folder. I then
add to this folder 2 resource files named:
MyResource.resx
MyResource.yi.resx
Then I build the site and get the following Error Message in the Error List:
The namespace 'Resources' already contains a definition for 'MyResource'
In file: App_GlobalResources.sg8-m9lm.1.cs
What I find is that if I change the "yi" to, for instance, "fr", then there
is no error. additionally if i rename the "MyResource.resx" to something else
like "MyOtherResource.resx", then it builds Ok, but then I dont have
strong-typed access to the rsource files.
What can the problem be? I would appreciate any lead. On google I didn't get
a single reference to this specific problem.
Thankfully,
YisMan