Unsafe code compilation error in .NET Core even after setting allowunsafe flag to true in project.json

后端 未结 2 1082
攒了一身酷
攒了一身酷 2021-02-12 11:33

I am using some unsafe code in my .NET Core app. For that, I had made this change in the project.json file:



        
2条回答
  •  一向
    一向 (楼主)
    2021-02-12 11:57

    In the newer *.csproj files, this is now:

    true
    

    in any PropertyGroup.

提交回复
热议问题