Centralize and cleanup <NoWarn> properties

このコミットが含まれているのは:
Sergio Pedri committed 2023-12-22 01:50:11 +01:00
1 親 43231de08d
コミット 51895aa970
9ファイル変更
+8 -18

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

-1
ファイルの表示
@@ -2,7 +2,6 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<NoWarn>$(NoWarn);CA1416</NoWarn>
</PropertyGroup>
<ItemGroup>
-1
ファイルの表示
@@ -3,7 +3,6 @@
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU;x64;ARM64</Platforms>
<NoWarn>$(NoWarn);CA1416</NoWarn>
</PropertyGroup>
<ItemGroup>
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<NoWarn>$(NoWarn);CA1416</NoWarn>
</PropertyGroup>
<ItemGroup>
-1
ファイルの表示
@@ -3,7 +3,6 @@
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU;x64;ARM64</Platforms>
<NoWarn>$(NoWarn);CA1416</NoWarn>
</PropertyGroup>
<ItemGroup>
-1
ファイルの表示
@@ -10,7 +10,6 @@
<OutputType Condition="'$(CI_RUNNER_SAMPLES_INTEGRATION_TESTS)' != 'true'">WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64;ARM64</Platforms>
<NoWarn>$(NoWarn);CA1416</NoWarn>
<AssemblyName>computesharp.cli</AssemblyName>
<!-- When explicitly optimizing for size, strip the icon (which adds about 100 KB of binary size) -->
+6 -4
ファイルの表示
@@ -6,15 +6,20 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platforms>x64;ARM64</Platforms>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
<NoWarn>$(NoWarn);IDE0065</NoWarn>
<AssemblyName>computesharp.d2d1.cli</AssemblyName>
<ApplicationIcon>..\..\assets\icon.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<!-- Suppress warnings for using directives inside namespaces (needed to avoid some WinRT conflicts) -->
<NoWarn>$(NoWarn);IDE0065</NoWarn>
<!-- Workaround for WinRT.TypeExtensions.GetAuthoringMetadataType(Type) trim warning (see https://github.com/microsoft/CsWinRT/issues/1319) -->
<NoWarn>$(NoWarn);IL2104;IL2026</NoWarn>
<!-- Workaround for WinRT.Runtime and System.Linq.Expressions producing trim warnings -->
<NoWarn>$(NoWarn);IL3053</NoWarn>
</PropertyGroup>
<!-- Options for R2R publishing -->
@@ -32,9 +37,6 @@
<InvariantGlobalization>true</InvariantGlobalization>
<StackTraceSupport>false</StackTraceSupport>
<OptimizationPreference>Speed</OptimizationPreference>
<!-- Workaround for WinRT.Runtime and System.Linq.Expressions producing trim warnings -->
<NoWarn>$(NoWarn);IL3053</NoWarn>
</PropertyGroup>
<!-- Also include the .rd.xml file to fix some NativeAOT issues with CsWinRT -->
-1
ファイルの表示
@@ -3,7 +3,6 @@
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64;ARM64</Platforms>
<NoWarn>$(NoWarn);CA1416;IDE0210</NoWarn>
</PropertyGroup>
<ItemGroup>
+2 -2
ファイルの表示
@@ -6,8 +6,8 @@
<!-- Samples don't need public XML docs for all APIs -->
<NoWarn>$(NoWarn);CS1591</NoWarn>
<!-- Ignore obsolete warnings (due to APIs pending removal for 3.0) -->
<NoWarn>$(NoWarn);CS0618</NoWarn>
<!-- Ignore platform compatibility warnings -->
<NoWarn>$(NoWarn);CA1416</NoWarn>
</PropertyGroup>
<!-- Reference PolySharp for all sample projects -->
-6
ファイルの表示
@@ -6,9 +6,6 @@
<!-- Test projects never need to be packaged -->
<IsPackable>false</IsPackable>
<!-- Ignore warnings for ambiguous XML docs (to remove after renaming ComputeSharp Win32 bindings) -->
<NoWarn>$(NoWarn);CS0419</NoWarn>
<!-- Unit tests don't need public XML docs -->
<NoWarn>$(NoWarn);CS1591</NoWarn>
@@ -17,9 +14,6 @@
<!-- Missing readonly modifier for readonly struct members (not needed in tests) -->
<NoWarn>$(NoWarn);IDE0251</NoWarn>
<!-- Ignore obsolete warnings (due to APIs pending removal for 3.0) -->
<NoWarn>$(NoWarn);CS0618</NoWarn>
</PropertyGroup>
<!-- Reference PolySharp for all test projects -->