Home All Groups Group Topic Archive Search About

resource issues after converting from 1.1 to 2.0

Author
21 Nov 2006 6:14 PM
miantosca
I have an ASP.NET Web Application project that I converted to 2.0 from 1.1
and ever since the conversion I have not been able to view any resources in
any other language than the default (english). When I set the uiculture in
the web config to sv-SE -  I still see the english resources.

I have a pre-build script in vs.net 2005 that compiles the txt files into
..resources files

cd C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\
resgen.exe "$(ProjectDir)Localization\UsersResources.txt" 
"$(ProjectDir)Localization\UsersResources.resources"
resgen.exe "$(ProjectDir)Localization\UsersResources.sv-SE.txt" 
"$(ProjectDir)Localization\UsersResources.sv-SE.resources"

The satelite assembly for sv-SE is getting created in the \bin\sv-SE\
directory and if I look at it with reflector it has all of the swedish
resources in it.

So I am confused as to why it cannot retrieve the Swedish resources - has
something changed in 2.0/vs.net 2005 that I need to be aware of?

Any help would be great

thanks
Michael

AddThis Social Bookmark Button