You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MultiTarget/MultiTargetIdentifiers.props
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -78,10 +78,11 @@
78
78
<ErrorCondition="'$(IsNetstandard)' == 'true' AND '$(IsUno)' == 'true'"Text="Projects cannot MultiTarget both netstandard and Uno Platform." />
79
79
80
80
<!--
81
-
UWP XAML can only be enabled for UWP projects. No need to warn for UWP XAML
82
-
being disabled when WinUI 2 is used, as that will already fail to build.
81
+
UWP XAML can only be enabled for UWP projects. No need to warn for UWP XAML being disabled
82
+
when WinUI 2 is used, as that will already fail to build. Note that we don't emit an error
83
+
for legacy UWP, as otherwise setting this property would require handling conditions to
84
+
filter TFMs, which is very clunky. Instead, it'll just be a no-op for legacy UWP projects.
83
85
-->
84
86
<ErrorCondition="'$(HasWindowsUIXaml)' == 'true' AND '$(IsUwp)' != 'true'"Text="Projects cannot reference Windows UI XAML if they're not targeting UWP." />
85
-
<ErrorCondition="'$(HasWindowsUIXaml)' == 'false' AND '$(IsUwp)' == 'true' AND '$(MultiTargetPlatformIdentifier)' != 'windows'"Text="Projects cannot disabl Windows UI XAML if they're targeting legacy UWP." />
0 commit comments