File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 59
59
<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 >
60
60
</Reference >
61
61
</ItemGroup >
62
+
63
+ <!--
64
+ Workaround for WindowsAppSdk 1.6
65
+ Track https://github.com/CommunityToolkit/Labs-Windows/pull/561#issuecomment-2274727870
66
+ -->
67
+ <Target Condition =" '$(IsWinAppSdk)' == 'true'" Name =" CsWinRTRemoveXamlDllReferences" AfterTargets =" ResolveTargetingPackAssets;ResolveReferences" BeforeTargets =" XamlPreCompile;CoreCompile" Outputs =" @(Reference)" >
68
+ <ItemGroup >
69
+ <Reference Remove =" @(Reference)"
70
+ Condition =" '%(Reference.Filename)%(Reference.Extension)' == 'Microsoft.Windows.UI.Xaml.dll'" />
71
+ <ReferencePathWithRefAssemblies Remove =" @(ReferencePathWithRefAssemblies)"
72
+ Condition =" '%(ReferencePathWithRefAssemblies.Filename)%(ReferencePathWithRefAssemblies.Extension)' == 'Microsoft.Windows.UI.Xaml.dll'" />
73
+ <ReferenceCopyLocalPaths Remove =" @(ReferenceCopyLocalPaths)"
74
+ Condition =" '%(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension)' == 'Microsoft.Windows.UI.Xaml.dll'" />
75
+ <ReferencePath Remove =" @(ReferencePath)"
76
+ Condition =" '%(ReferencePath.Filename)%(ReferencePath.Extension)' == 'Microsoft.Windows.UI.Xaml.dll'" />
77
+ <RuntimePackAsset Remove =" @(RuntimePackAsset)"
78
+ Condition=" '%(RuntimePackAsset.Filename)%(RuntimePackAsset.Extension)' == 'Microsoft.Windows.UI.Xaml.dll'" />
79
+ </ItemGroup >
80
+ </Target >
62
81
</Project >
You can’t perform that action at this time.
0 commit comments