Skip to content

Commit 8f8d57c

Browse files
committed
Add package reference to Win2D to make it possible to generate a MSIX and deploy
1 parent a993848 commit 8f8d57c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Samples/Islands/DrawingIsland/DrawingCsTestApp/DrawingCsTestApp.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<!-- Added CsWinRT reference to avoid WinMD error as a result of WinMD leaking via project reference. -->
3535
<PackageReference Include="CommunityToolkit.WinAppSDK.LottieWinRT" Version="8.0.230819-rc-LottieIsland.7.g92a87e1883" />
3636
<PackageReference Include="CommunityToolkit.WinUI.Lottie" Version="8.0.230819-rc-LottieIsland.7.g92a87e1883" />
37+
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.2.0" />
3738
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.7" />
3839

3940
<!-- Reference WASDK for types -->

Samples/Islands/DrawingIsland/DrawingCsTestPackage/DrawingCsTestPackage.wapproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@
5959
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
6060
<ItemGroup>
6161
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.3233" PrivateAssets="all" />
62+
<!-- Added CsWinRT reference to avoid WinMD error as a result of WinMD leaking via project reference. -->
63+
<PackageReference Include="CommunityToolkit.WinAppSDK.LottieWinRT" Version="8.0.230819-rc-LottieIsland.7.g92a87e1883" />
64+
<PackageReference Include="CommunityToolkit.WinUI.Lottie" Version="8.0.230819-rc-LottieIsland.7.g92a87e1883" />
65+
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.2.0" />
66+
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.7" />
67+
<!-- Reference WASDK for types -->
68+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240428000" />
6269
</ItemGroup>
6370
<ItemGroup>
6471
<ProjectReference Include="..\DrawingCsTestApp\DrawingCsTestApp.csproj" />

0 commit comments

Comments
 (0)