Skip to content

Commit 65b5a1e

Browse files
committed
Re-enable nullable, remove mute of warnings
1 parent 0f4b8f9 commit 65b5a1e

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

UnitsNet/UnitsNet.csproj

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<PropertyGroup>
2323
<AssemblyVersion>5.0.0.0</AssemblyVersion> <!-- Should reflect major part of Version -->
2424
<LangVersion>latest</LangVersion>
25-
<Nullable>disable</Nullable>
25+
<Nullable>enable</Nullable>
2626
<RootNamespace>UnitsNet</RootNamespace>
2727
<TargetFrameworks>netstandard2.0;net7.0</TargetFrameworks>
2828
</PropertyGroup>
@@ -46,22 +46,6 @@
4646
<SignAssembly>true</SignAssembly>
4747
<AssemblyName>UnitsNet</AssemblyName>
4848
</PropertyGroup>
49-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
50-
<NoWarn>1701;1702</NoWarn>
51-
<WarningsNotAsErrors>612,618,CS8769,CS8632,CS8765,CS8767</WarningsNotAsErrors>
52-
</PropertyGroup>
53-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
54-
<NoWarn>1701;1702</NoWarn>
55-
<WarningsNotAsErrors>612,618,CS8769,CS8632,CS8765,CS8767</WarningsNotAsErrors>
56-
</PropertyGroup>
57-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0|AnyCPU'">
58-
<NoWarn>1701;1702</NoWarn>
59-
<WarningsNotAsErrors>612,618,CS8769,CS8632,CS8765,CS8767</WarningsNotAsErrors>
60-
</PropertyGroup>
61-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net7.0|AnyCPU'">
62-
<NoWarn>1701;1702</NoWarn>
63-
<WarningsNotAsErrors>612,618,CS8769,CS8632,CS8765,CS8767</WarningsNotAsErrors>
64-
</PropertyGroup>
6549

6650
<!-- NuGet references that work for all TargetFrameworks, both signed and unsigned. -->
6751
<ItemGroup>

0 commit comments

Comments
 (0)