Skip to content

Commit

Permalink
removed treat warnings as errors from netstandard project
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Mar 28, 2024
1 parent 91044f4 commit 7f77374
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions src/IO.Ably.NETStandard20/IO.Ably.NETStandard20.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,61 +23,59 @@
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Debug\IO.Ably.NETStandard20.xml</DocumentationFile>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Release\IO.Ably.NETStandard20.xml</DocumentationFile>
</PropertyGroup>

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

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

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

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

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

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

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

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

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

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

0 comments on commit 7f77374

Please sign in to comment.