I am enumerating project's build configurations. I want to get the "Debug" build configuration. I do realize it is not something hardcoded and can be removed by user, or another configurations could be added. However, IDE does create predefined build configurations ("Release" and "Debug"), and I need to retrieve one - if it still exists.
Now, there is IOTABuildConfiguration.Name, which returns 'Debug'. However, this is localized string, it can be something else in German or other language.
There is also IOTABuildConfiguration.Key, which has value of 'Cfg_1'. Can I be sure 'Cfg_1' is always 'Debug'?
There is IOTAProjectOptionsConfigurations.BaseConfiguration, which returns base build configuration. So at least I always know the base one, without need to touch localized name.
Is there anything I can do to retrieve localized name for the "Debug" build configuration? Or my best bet is to use hack of matching build configuration name with the list of known localized names?