Skip to content

Commit

Permalink
updated netstandard csproj to ignore warnings as errors with end flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Mar 28, 2024
1 parent 0f058c7 commit 91044f4
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions src/IO.Ably.NETStandard20/IO.Ably.NETStandard20.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,39 +33,51 @@
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
<WarningsNotAsErrors>NU1903</WarningsNotAsErrors>
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<NoWarn>1701;1702;NU1903</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
<WarningsNotAsErrors>NU1903</WarningsNotAsErrors>
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<NoWarn>1701;1702;NU1903</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='package|netstandard2.0|AnyCPU'">
<WarningsNotAsErrors>NU1903</WarningsNotAsErrors>
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<NoWarn>1701;1702;NU1903</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
<WarningsNotAsErrors>NU1903</WarningsNotAsErrors>
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<NoWarn>1701;1702;NU1903</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
<WarningsNotAsErrors>NU1903</WarningsNotAsErrors>
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<NoWarn>1701;1702;NU1903</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='package|net6.0|AnyCPU'">
<WarningsNotAsErrors>NU1903</WarningsNotAsErrors>
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<NoWarn>1701;1702;NU1903</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0|AnyCPU'">
<WarningsNotAsErrors>NU1903</WarningsNotAsErrors>
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<NoWarn>1701;1702;NU1903</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net7.0|AnyCPU'">
<WarningsNotAsErrors>NU1903</WarningsNotAsErrors>
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<NoWarn>1701;1702;NU1903</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='package|net7.0|AnyCPU'">
<WarningsNotAsErrors>NU1903</WarningsNotAsErrors>
<WarningsNotAsErrors>NU1903;</WarningsNotAsErrors>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<NoWarn>1701;1702;NU1903</NoWarn>
</PropertyGroup>

<Import Project="..\IO.Ably.Shared\IO.Ably.Shared.projitems" Label="Shared" />
Expand Down

0 comments on commit 91044f4

Please sign in to comment.