Skip to content

Commit b556927

Browse files
committed
Update WebView2, removed broken WebView2NeverCopyLoaderDllToOutputDirectory conditions
1 parent 3fe062b commit b556927

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

MultiTarget/PackageReferences/WinAppSdk.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<ItemGroup>
33
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.6.240829007" />
44
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756" />
5+
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2792.45" />
56
</ItemGroup>
67
<ItemGroup>
78
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.1" />

MultiTarget/WinUI.Extra.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<WindowsSdkPackageVersion Condition="8 > $([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)'))">10.0.22621.38</WindowsSdkPackageVersion>
3939

4040
<!--- Workaround for ADO 53865998 - See https://github.com/CommunityToolkit/Tooling-Windows-Submodule/issues/215 - Don't include extraneous WebView2 dll -->
41-
<WebView2NeverCopyLoaderDllToOutputDirectory Condition="'$(WebView2NeverCopyLoaderDllToOutputDirectory)' == '' And '$(WebView2EnableCsWinRTProjection)' == 'true'">true</WebView2NeverCopyLoaderDllToOutputDirectory>
41+
<WebView2NeverCopyLoaderDllToOutputDirectory>true</WebView2NeverCopyLoaderDllToOutputDirectory>
4242
</PropertyGroup>
4343

4444
<PropertyGroup Condition="'$(IsUno)' == 'true'">

0 commit comments

Comments
 (0)