I had a web project under VS.2008 that worked fine with translations. I recently updated it to VS.2010 Ultimate using the conversion wizard that didn't complain about anything.
Now when I try to retrieve a localized page I get a "COuld not find any resources appropriate for the specified culture.". The weird thing is the resources in App_GlobalResources and App_LocalResources are there.
What I do see is that all the .resx files in App_GlobalResources and App_LocalResources have a build action "Content", shouldn't that be "Embedded Resource" ? If not why am I suddenly getting that error after conversion?
degt
Member
195 Points
171 Posts
Build action for items in App_GlobalResources and App_LocalResources
Apr 06, 2012 04:25 PM|LINK
I had a web project under VS.2008 that worked fine with translations. I recently updated it to VS.2010 Ultimate using the conversion wizard that didn't complain about anything.
Now when I try to retrieve a localized page I get a "COuld not find any resources appropriate for the specified culture.". The weird thing is the resources in App_GlobalResources and App_LocalResources are there.
What I do see is that all the .resx files in App_GlobalResources and App_LocalResources have a build action "Content", shouldn't that be "Embedded Resource" ? If not why am I suddenly getting that error after conversion?
Contributor to Panama Vibes
FightAsABull
Contributor
2228 Points
424 Posts
Re: Build action for items in App_GlobalResources and App_LocalResources
Apr 12, 2012 01:40 AM|LINK
Hi, please create a new project, and add an basic page and resource file to test