Fix new .NET SDK warnings

このコミットが含まれているのは:
Sergio Pedri committed 2024-11-12 17:53:45 -08:00
1 親 f96d0150b5
コミット 7461a8eea7
5ファイル変更
+18 -4

検索条件に一致するファイルはありません

@@ -2,6 +2,14 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<DefineConstants>$(DefineConstants);D2D1_TESTS</DefineConstants>
<!--
Temporarily suppress warnings about packages with security vulnerabilities coming from
transitive dependencies of the 'Microsoft.CodeAnalysis.CSharp' testing packages. This
can be removed once new stable releases of those packages are shipped. We don't want
to add a new more recent top-level dependency to guard against binary breaking changes.
-->
<NoWarn>$(NoWarn);NU1903</NoWarn>
</PropertyGroup>
<ItemGroup>
@@ -6,6 +6,9 @@
<Platforms>x64;ARM64</Platforms>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
<DefineConstants>$(DefineConstants);D2D1_WINUI_TESTS</DefineConstants>
<!-- Temporary workaround, see notes in 'ComputeSharp.D2D1.Tests.SourceGenerators' -->
<NoWarn>$(NoWarn);NU1902;NU1903</NoWarn>
</PropertyGroup>
<ItemGroup>
@@ -1,6 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<!-- Temporary workaround, see notes in 'ComputeSharp.D2D1.Tests.SourceGenerators' -->
<NoWarn>$(NoWarn);NU1903</NoWarn>
</PropertyGroup>
<ItemGroup>