How to enable Nullable Reference Types feature of C# 8.0 for the whole project

前端 未结 6 1814
庸人自扰
庸人自扰 2020-12-05 03:44

According to the C# 8 announcement video the \"nullable reference types\" feature can be enabled for the whole project.

But how to enable it for the project? I did n

6条回答
  •  感情败类
    2020-12-05 04:24

    Worth noting that, by now, this is also an exposed setting in a project's Properties page:

    At least in VS2019 16.6+.

提交回复
热议问题