Skip to content

Commit 7a46f49

Browse files
committed
Update Microsoft.Xaml.Behaviors package references to version 3.0.0-preview2 and remove obsolete WebView2 workaround
1 parent 63aaf33 commit 7a46f49

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

MultiTarget/WinUI.Extra.props

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,6 @@
4747
<WebView2NeverCopyLoaderDllToOutputDirectory>true</WebView2NeverCopyLoaderDllToOutputDirectory>
4848
</PropertyGroup>
4949

50-
<!-- Workaround for the latest Microsoft.Xaml.Behaviors.WinUI.Managed 3.0.0-preview1 referencing a broken version of WebView2. -->
51-
<Target Name="RemoveWebViewDlls"
52-
BeforeTargets="GetCopyToOutputDirectoryItems"
53-
AfterTargets="AddPriPayloadFilesToCopyToOutputDirectoryItems">
54-
<ItemGroup>
55-
<_ExtraPriPayloadFiles Remove="@(_ExtraPriPayloadFiles)" Condition="'%(_ExtraPriPayloadFiles.FileName)%(_ExtraPriPayloadFiles.Extension)' == 'WebView2Loader.dll'"/>
56-
<_AllChildProjectItemsWithTargetPath Remove="@(_AllChildProjectItemsWithTargetPath)" Condition="'%(_AllChildProjectItemsWithTargetPath.FileName)%(_AllChildProjectItemsWithTargetPath.Extension)' == 'WebView2Loader.dll'"/>
57-
</ItemGroup>
58-
</Target>
59-
6050
<PropertyGroup Condition="'$(IsUno)' == 'true'">
6151
<!-- Xaml Trimming: https://platform.uno/docs/articles/features/resources-trimming.html -->
6252
<UnoXamlResourcesTrimming>true</UnoXamlResourcesTrimming>

ProjectHeads/App.Head.Uwp.Dependencies.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Project>
44
<ItemGroup>
55
<PackageReference Include="Microsoft.Toolkit.Uwp.UI.Controls.Markdown" Version="7.1.3" />
6-
<PackageReference Include="Microsoft.Xaml.Behaviors.Uwp.Managed" Version="3.0.0-preview1" />
6+
<PackageReference Include="Microsoft.Xaml.Behaviors.Uwp.Managed" Version="3.0.0-preview2" />
77
<PackageReference Include="System.Collections.Immutable" Version="9.0.0" />
88
</ItemGroup>
99
</Project>

ProjectHeads/App.Head.WinAppSdk.Dependencies.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<Project>
44
<ItemGroup>
55
<PackageReference Include="CommunityToolkit.WinUI.UI.Controls.Markdown" Version="7.1.2" />
6-
<PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="3.0.0-preview1" />
6+
<PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="3.0.0-preview2" />
77
</ItemGroup>
88
</Project>

0 commit comments

Comments
 (0)