I am using some unsafe code in my .NET Core app. For that, I had made this change in the project.json file:
"compilationOptions": {
"allowUnsafe": true,
}
However, I still get the error CS0227: Unsafe code may only appear if compiling with /unsafe
.
I had already gone through this: