Skip to content

Commit f18ea97

Browse files
committed
make it impossible to build with null errors
1 parent c81fe95 commit f18ea97

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/KK.AspNetCore.EasyAuthAuthentication/KK.AspNetCore.EasyAuthAuthentication.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
<LangVersion>8.0</LangVersion>
1414
<Nullable>enable</Nullable>
1515
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
16+
<WarningsAsErrors>
17+
CS8600;CS8602;CS8603<!--The identifiers are all for nullable errors. See here: https://www.tabsoverspaces.com/233764-switch-to-errors-instead-of-warnings-for-nullable-reference-types-in-csharp-8-->
18+
</WarningsAsErrors>
1619
</PropertyGroup>
1720

1821
<ItemGroup>

0 commit comments

Comments
 (0)