The culprit is
but also happens in NTrim function for example.
Code: Select all
nValue := Val( "100.00" )
The xsharp lib referenced by the asp.net core website has been compiled using an sdk project type targeting .net8 as well.
Message=The type initializer for 'XSharp.ConversionHelpers' threw an exception.
at XSharp.RT.Functions._VOVal(String cNumber)
at XSharp.RT.Functions.Val(String cNumber)
at PIniFile.ReadReal8(String cEntry, Double nDefault) in REDACTED
This exception was originally thrown at this call stack:
Inner Exception 1:
CultureNotFoundException: Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode for more information. (Parameter 'name')
en-US is an invalid culture identifier.
Any hint ?