Currently xbuild cannot compile the console version for it to run on mac or linux becasue it depends on Core which is doing some unsafe byte operations. We need to add the code below to .csproj file in Core library to fix this.
Error
Utils/ByteHelpers.cs(8,23): error CS0227: Unsafe code requires the `unsafe' command line option to be specified
Fix
Add line below in .csproj file of Code sub-project.
Currently xbuild cannot compile the console version for it to run on mac or linux becasue it depends on
Core
which is doing some unsafe byte operations. We need to add the code below to.csproj
file inCore
library to fix this.Error
Fix
Add line below in
.csproj
file ofCode
sub-project.