Posted on: 8/7/2015 2:58:56 PM | Views : 767

I'm trying to localize enums. Looking in internet I found this solutions that works:
http://hazaa.com.au/blog/string-enumerations-and-resource-files-in-c/
I downloaded the sample code, converted it for VS 2012, ad run it and it works. After I created another console application and recreated the almost same classes. When I create a resources file the Resource.Designer.cs class doesn't contains the class ResourceNames (why???)
public class ResourceNames { /// <summary> /// Stores the resource name 'AlfaRomeo'. /// </summary> public const string AlfaRomeo = "AlfaRomeo"; /// <summary> /// Stores the resource name 'AstonMartin'. /// </summary> public const string AstonMartin = "AstonMartin"; /// < ...

Go to the complete details ...