System.Globalization.CultureInfo provider = System.Globalization.CultureInfo.InvariantCulture;
The qualifier 'System.Globalization.CultureInfo' is not valid for field 'InvariantCulture'.
The qualifier 'System.Globalization' is not valid for field 'CultureInfo'.
The qualifier 'System' is not valid for field 'Globalization'.
'System' is not declared.
System.Globalization.CultureInfo provider;
I've created a runnable class where this is the only code inside the main method so I don't beleive it's anything blocking it. It works in my C# project but not in the X++ project so I think it has something to do with it being X++ specifically but I can't find anything saying why I can use CultureInfo but not the InvariantCulture part of it.

Report
All responses (
Answers (