Skip to content

Commit

Permalink
Add workaround to prevent WebView2 from including Microsoft.VCLibs.De…
Browse files Browse the repository at this point in the history
…sktop in UAP builds
  • Loading branch information
Arlodotexe committed Dec 19, 2024
1 parent 7e827e6 commit 6bd5d21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<Project>
<ItemGroup>
<!-- Workaround for WebView2 on uap pulling in Microsoft.VCLibs.Desktop when it shouldn't -->
<SDKReference Remove="Microsoft.VCLibs.Desktop, Version=14.0" />
</ItemGroup>

<ItemGroup Condition="'$(Configuration)' == 'Release'">
<PackageReference Include="NuGet.Build.Tasks.Pack" Version="6.12.1" PrivateAssets="all" Pack="false" />
Expand Down
2 changes: 1 addition & 1 deletion tooling

0 comments on commit 6bd5d21

Please sign in to comment.