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
# If none of the requested targets are supported by the component, we can skip build to save time and avoid errors.
256
271
if (-not$isRequestedTargetSupported) {
257
-
Write-Warning"Skipping $($componentPath.BaseName), none of the requested MultiTargets '$MultiTargets' are enabled for this component."
272
+
Write-Warning"Skipping $componentName, none of the requested MultiTargets '$MultiTargets' are enabled for this component."
258
273
continue
259
274
}
260
275
261
-
if (-not$isWinUIMajorVersionSupported) {
262
-
Write-Warning"Skipping $($componentPath.BaseName), none of the supported MultiTargets '$supportedMultiTargets' support WinUI $WinUIMajorVersion."
276
+
if (-not$isWinUI0Supported-and$WinUIMajorVersion-eq0) {
277
+
Write-Warning"Skipping $componentName. WinUI is disabled and one of the supported MultiTargets '$supportedMultiTargets' supports WinUI."
278
+
continue;
279
+
}
280
+
281
+
if ((-not$isWinUI2Supported-and$WinUIMajorVersion-eq2) -or (-not$isWinUI3Supported-and$WinUIMajorVersion-eq3)) {
282
+
Write-Warning"Skipping $componentName. WinUI $WinUIMajorVersion is enabled and not supported by any of the MultiTargets '$supportedMultiTargets'"
263
283
continue
264
284
}
265
285
286
+
# Filter ExcludeMultiTargets out of supportedMultiTargets
287
+
# For display purposes only. The actual build uses the EnabledMultiTargets.props + EnabledTargetFrameworks.props to calculate supported targets at build time.
0 commit comments