Hi,
we are using currently microsoft crm in germany and the language is also german. I generate all classes with crmsvcutil.exe and it worked fine till i needed to change values for OptionSets in plugins. Somehow when i create a new OptionSet we store the labels in german if crmsvcutil.exe generates classes i get this:
public enum prg_belegstatus
{
[System.Runtime.Serialization.EnumMemberAttribute()]
UnknownLabel100000000 = 100000000,
[System.Runtime.Serialization.EnumMemberAttribute()]
UnknownLabel100000001 = 100000001,
[System.Runtime.Serialization.EnumMemberAttribute()]
UnknownLabel100000002 = 100000002,
[System.Runtime.Serialization.EnumMemberAttribute()]
UnknownLabel100000003 = 100000003,
[System.Runtime.Serialization.EnumMemberAttribute()]
UnknownLabel100000004 = 100000004,
}
Generating classes for the built-in OptionSets is working fine and i get the correct enum classes.
Is there a way that crmsvcutil.exe is using the german labels if the language set to german ?
This is really an annoying bug because i wanted to prevent to hardcode OptionSet values in the code.
Kind Regards
Markus