40 行
1.6 KiB
XML
40 行
1.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
|
|
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
|
<WindowsSdkPackageVersion>10.0.22621.39</WindowsSdkPackageVersion>
|
|
<Platforms>x64;ARM64</Platforms>
|
|
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
|
|
<DefineConstants>$(DefineConstants);WINDOWS_UWP</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<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>
|
|
|
|
<!-- Temporary workaround: the Win2D .dll is not strong name signed, ignore the error for now -->
|
|
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS8002</WarningsNotAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<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.1" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ComputeSharp.D2D1\ComputeSharp.D2D1.csproj" />
|
|
</ItemGroup>
|
|
|
|
<Import Project="..\ComputeSharp.D2D1.UI\ComputeSharp.D2D1.UI.projitems" Label="Shared" />
|
|
</Project>
|