Add CsWinRT reference to WinRT sample

このコミットが含まれているのは:
Sergio Pedri committed 2024-06-30 14:31:48 -07:00
1 親 c424f54de9
コミット f4efb00a96
1ファイル変更
+5
+5
ファイルの表示
@@ -3,6 +3,7 @@
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<Platforms>x64;ARM64</Platforms>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
<CsWinRTComponent>true</CsWinRTComponent>
</PropertyGroup>
<!-- NativeAOT configuration (same as in ComputeSharp.NativeLibrary, see notes there) -->
@@ -17,6 +18,10 @@
<IlcGenerateMstatFile>false</IlcGenerateMstatFile>
<IlcGenerateDgmlFile>false</IlcGenerateDgmlFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.4" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />