Skip to content

Commit

Permalink
Suppress nullable annoation warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
mayuki committed Jul 12, 2020
1 parent 471f5a1 commit 72d25ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<nullable>annotations</nullable>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion test/Cocona.Lite.Test/Cocona.Lite.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\src\Cocona\StrongNameKey.snk</AssemblyOriginatorKeyFile>
<NoWarn>1701;1702;CS1998</NoWarn>
<nullable>annotations</nullable>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;COCONA_LITE</DefineConstants>
</PropertyGroup>

Expand Down
1 change: 1 addition & 0 deletions test/Cocona.Test/Cocona.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\src\Cocona\StrongNameKey.snk</AssemblyOriginatorKeyFile>
<NoWarn>1701;1702;CS1998</NoWarn>
<nullable>annotations</nullable>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 72d25ab

Please sign in to comment.