-
Andres G. Aragoneses authored
It turns out that F#'s (s)printf(n) functions use reflection [1], so UWP's CoreRT compiler/runtime is not happy about it at all [2]; then this is a workaround that uses `String.Format` underneath, except when compiled with a define for stricter compilation. (Compiling with this define will still give us the compile-time safety of sprintf vs String.Format such as checking number of arguments and their types, but without the portability to UWP.) [1] https://github.com/dotnet/corert/issues/6055#issuecomment-589986858 [2] https://stackoverflow.com/q/60350735/544947
cd5ce122