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
Note that this setting is changed between VS 2019 preview 1 and preview 2. With preview 2 or 3, you need this in your .csproj
:
8.0
enable
The
mentioned in the earlier answer (which, when I originally wrote this answer on 4th Feb 2019, had been marked as the accepted answer) was correct at the time that answer was written, but it is no longer recognized.