Enum meta data not accessible in Non-Editor builds

When building in:
DebugGame, Development or Shipping.
EnumMetaData is not accessible as it is declared with #if WITH_EDITOR, why is this? It breaks building the final game. Furthermore, when checking the Preprocessor value in: Project->Properties->NMake->Preprocessor Definitions it is actually set to: WITH_EDITOR=1. This is kind inconsistent and also it is apparently reset to 0.

Then you should find other way to do things or submit change in github with resening behind it. Some code and APIs are meant to be only used in editor so you need to watch out what you using.

Also UE4 only uses VS compiler, building of UE4 is managed by it’s own build system called UnrealBuildTool and it ignores VS project settings (for him VS project files don’t even need to exist), most configuration is done using C# build script files