2021年4月29日星期四

How to use command-line options for F# within a .NET Core project?

I need to use one of the reserved words, sig, in my F# code, in a .NET Core project. As the manual states:

If you use the --mlcompatibility compiler option, the above keywords are available for use as identifiers.

The compilation environment can also be controlled by setting the project properties. For projects targeting .NET Core, the "Other flags" property, ... in .fsproj, is used for specifying extra command-line options.

In trying to do so, I successfully crashed my project.

How does one put command-line options into the .NET Core project?

TIA.

https://stackoverflow.com/questions/67328057/how-to-use-command-line-options-for-f-within-a-net-core-project April 30, 2021 at 12:08PM

没有评论:

发表评论