Skip to content

Commit

Permalink
clean up warnings from NuGet.Client submodule (#10911)
Browse files Browse the repository at this point in the history
Clean up warnings from NuGet.Client submodule (#10911)
  • Loading branch information
brettfo authored Nov 7, 2024
1 parent 9ada831 commit 972e1e2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
<PropertyGroup>
<DefineConstants>$(DefineConstants);IS_CORECLR</DefineConstants>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<NoWarn>$(NoWarn);NU1701</NoWarn>
<NoWarn>$(NoWarn);CA1305</NoWarn><!-- behavior of StringBuilder could vary based on user's locale -->
<NoWarn>$(NoWarn);CA2022</NoWarn><!-- avoid inexact Stream.Read() -->
<NoWarn>$(NoWarn);NU1701</NoWarn><!-- package target framework may not be compatible -->
<NoWarn>$(NoWarn);NU1903</NoWarn><!-- package has a known high severity vulnerability -->
<NoWarn>$(NoWarn);SYSLIB0014</NoWarn><!-- obsolete -->
<NuGetSourceLocation>$(MSBuildThisFileDirectory)..\..\NuGet.Client</NuGetSourceLocation>
<SharedDirectory>$(NuGetSourceLocation)\build\Shared</SharedDirectory>
<Version>6.8.0</Version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFramework>$(CommonTargetFramework)</TargetFramework>
<NoWarn>$(NoWarn);CA1416</NoWarn>
<NoWarn>$(NoWarn);SYSLIB0018</NoWarn><!-- ReflectionOnly loading is not supported -->
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFramework>$(CommonTargetFramework)</TargetFramework>
<NoWarn>$(NoWarn);CS1591;RS0041</NoWarn>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFramework>$(CommonTargetFramework)</TargetFramework>
<NoWarn>$(NoWarn);CS1591;RS0041</NoWarn>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>$(CommonTargetFramework)</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>$(NoWarn);CS0414;CS1591;CS1574;CS1573;CS1572;RS0041</NoWarn>
<NoWarn>$(NoWarn);CA1305;CS0414;CS1591;CS1574;CS1573;CS1572;RS0041</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 972e1e2

Please sign in to comment.