Suppress NU1701 in Release builds

This commit is contained in:
Katy Coe
2020-02-10 09:38:23 +01:00
parent 556926bbbb
commit 2487b945a4

View File

@@ -16,7 +16,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<WarningsAsErrors>NU1605</WarningsAsErrors> <WarningsAsErrors>NU1605</WarningsAsErrors>
<NoWarn>1701;1702;NU1701</NoWarn> <NoWarn>1701;1702</NoWarn>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
@@ -25,7 +25,9 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Ookii.Dialogs.Wpf.NETCore" Version="2.0.0" /> <PackageReference Include="Ookii.Dialogs.Wpf.NETCore" Version="2.0.0" />
<PackageReference Include="XamlAnimatedGif" Version="1.2.2" /> <PackageReference Include="XamlAnimatedGif" Version="1.2.2">
<NoWarn>NU1701</NoWarn>
</PackageReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>