We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12e1957 commit 45f6f8dCopy full SHA for 45f6f8d
MultiTarget/WinUI.Extra.props
@@ -29,6 +29,12 @@
29
<None PackagePath="lib/net7.0-windows10.0.18362" Include="$(MSBuildThisFileDirectory)/_._" Pack="true" />
30
</ItemGroup>
31
32
+ <!-- Fixes an issue where the WebView2 reference causes Microsoft.VCLibs.Desktop to be pulled in on uap -->
33
+ <PropertyGroup Condition="'$(IsUwp)' == 'true' OR '$(MultiTargetPlatformIdentifier)' != 'windows'">
34
+ <WebView2UseWinRT>false</WebView2UseWinRT>
35
+ <WebView2UseDispatchAdapter>false</WebView2UseDispatchAdapter>
36
+ </PropertyGroup>
37
+
38
<PropertyGroup Condition="'$(IsUwp)' == 'true'">
39
<Platforms>x86;x64;arm64</Platforms>
40
0 commit comments