Skip to content

Commit 249e2c0

Browse files
committed
Remove workaround for wasdk 1.6 < preview2
1 parent bb2c456 commit 249e2c0

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

MultiTarget/WinUI.Extra.props

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -61,23 +61,4 @@
6161
<HintPath Condition="Exists('c:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\Extensions\Xamarin.VisualStudio')">c:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\Extensions\Xamarin.VisualStudio\Xamarin.Mac.dll</HintPath>
6262
</Reference>
6363
</ItemGroup>
64-
65-
<!--
66-
Workaround for WindowsAppSdk 1.6
67-
Track https://github.com/CommunityToolkit/Labs-Windows/pull/561#issuecomment-2274727870
68-
-->
69-
<Target Condition="'$(IsWinAppSdk)' == 'true'" Name="CsWinRTRemoveXamlDllReferences" AfterTargets="ResolveTargetingPackAssets;ResolveReferences" BeforeTargets="XamlPreCompile;CoreCompile" Outputs="@(Reference)">
70-
<ItemGroup>
71-
<Reference Remove="@(Reference)"
72-
Condition="'%(Reference.Filename)%(Reference.Extension)' == 'Microsoft.Windows.UI.Xaml.dll'" />
73-
<ReferencePathWithRefAssemblies Remove="@(ReferencePathWithRefAssemblies)"
74-
Condition="'%(ReferencePathWithRefAssemblies.Filename)%(ReferencePathWithRefAssemblies.Extension)' == 'Microsoft.Windows.UI.Xaml.dll'" />
75-
<ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)"
76-
Condition="'%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension)' == 'Microsoft.Windows.UI.Xaml.dll'" />
77-
<ReferencePath Remove="@(ReferencePath)"
78-
Condition="'%(ReferencePath.Filename)%(ReferencePath.Extension)' == 'Microsoft.Windows.UI.Xaml.dll'" />
79-
<RuntimePackAsset Remove="@(RuntimePackAsset)"
80-
Condition="'%(RuntimePackAsset.Filename)%(RuntimePackAsset.Extension)' == 'Microsoft.Windows.UI.Xaml.dll'" />
81-
</ItemGroup>
82-
</Target>
8364
</Project>

0 commit comments

Comments
 (0)