Remove unnecessary CsWinRT package references

このコミットが含まれているのは:
Sergio Pedri committed 2024-10-30 17:28:52 -07:00
1 親 9e9e5ec9f7
コミット 40e8d782ad
4ファイル変更
-43

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

-9
ファイルの表示
@@ -10,9 +10,6 @@
<PropertyGroup>
<!-- Also disabled in 'ComputeSharp.D2D1.WinUI', see notes there -->
<CsWinRTIIDOptimizerOptOut>true</CsWinRTIIDOptimizerOptOut>
<!-- Same warnings as in 'ComputeSharp.D2D1.WinUI', see notes there -->
<NoWarn>$(NoWarn);CS0419</NoWarn>
<NoWarn>$(NoWarn);IDE0065</NoWarn>
@@ -23,12 +20,6 @@
<ItemGroup>
<PackageReference Include="Win2D.uwp" Version="1.28.0-preview1" />
<!--
We need the CsWinRT reference for the generator to kick in and generate all necessary supporting code
to make the exposed types AOT compatible. Since we only need the generator, we can mark this as private.
-->
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
-13
ファイルの表示
@@ -12,13 +12,6 @@
<PropertyGroup>
<!--
Disable IIDOptimizer, as it's causing a build error when the debug mode is set to embedded.
This is only needed when generating projections anyway, and not in normal C# class libraries.
See: https://github.com/microsoft/CsWinRT/issues/1478.
-->
<CsWinRTIIDOptimizerOptOut>true</CsWinRTIIDOptimizerOptOut>
<!--
Ignore some warnings about ambiguous cref attribute references. These are because the assembly defines
blittable bindings for several ABI types from Win2D, in the same namespace as the ABI types from the
@@ -32,12 +25,6 @@
<ItemGroup>
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.3.0" />
<!--
We need the CsWinRT reference for the generator to kick in and generate all necessary supporting code
to make the exposed types AOT compatible. Since we only need the generator, we can mark this as private.
-->
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
-12
ファイルの表示
@@ -8,18 +8,6 @@
<DefineConstants>$(DefineConstants);WINDOWS_UWP</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<!-- Disable IIDOptimizer, as it's not needed (see comments in ComputeSharp.D2D1.WinUI)-->
<CsWinRTIIDOptimizerOptOut>true</CsWinRTIIDOptimizerOptOut>
</PropertyGroup>
<ItemGroup>
<!-- Reference CsWinRT locally for the source generators (see comments in ComputeSharp.D2D1.WinUI) -->
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ComputeSharp\ComputeSharp.csproj" />
</ItemGroup>
-9
ファイルの表示
@@ -13,17 +13,8 @@
<WebView2EnableCsWinRTProjectionExcludeCoreRef>true</WebView2EnableCsWinRTProjectionExcludeCoreRef>
</PropertyGroup>
<PropertyGroup>
<!-- Disable IIDOptimizer, as it's not needed (see comments in ComputeSharp.D2D1.WinUI)-->
<CsWinRTIIDOptimizerOptOut>true</CsWinRTIIDOptimizerOptOut>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.240923002" />
<!-- Reference CsWinRT locally for the source generators (see comments in ComputeSharp.D2D1.WinUI) -->
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.6" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>