If you place a test.fsx with a warning (in a place where there is no Directory.Build.props, and your current directory doesn't have this file either), e.g.:
let GiveMeBool():bool = false
GiveMeBool()
printf "hello"
This seems to not fail in .NET6:
"%programfiles%\fsx\fsxc.exe" -f test.fsx
While it seems it would fail in .NET4.x, judging by --warnaserror present in these lines 777,778 in Fsxc.fs:
If you place a test.fsx with a warning (in a place where there is no Directory.Build.props, and your current directory doesn't have this file either), e.g.:
This seems to not fail in .NET6:
"%programfiles%\fsx\fsxc.exe" -f test.fsx
While it seems it would fail in .NET4.x, judging by --warnaserror present in these lines 777,778 in Fsxc.fs: