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
[release/10.0.1xx-preview5] [msbuild] Don't execute the ParseDeviceSpecificBuildInformation task on Mac Catalyst. (#22915)
The 'ParseDeviceSpecificBuildInformation' task is only applicable to mobile
targets (iOS and tvOS), so skip running it on Mac Catalyst (like we're already
doing for macOS).
This fixes a build error if happens to run on Mac Catalyst:
> The \"ParseDeviceSpecificBuildInformation\" task failed unexpectedly. System.InvalidOperationException: Invalid platform: MacCatalyst
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2484312.
Backport of #22887.
Copy file name to clipboardExpand all lines: msbuild/Xamarin.Shared/Xamarin.Shared.targets
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1289,7 +1289,7 @@ Copyright (C) 2018 Microsoft. All rights reserved.
1289
1289
will apply to Xamarin.Mac as well.
1290
1290
-->
1291
1291
<ParseDeviceSpecificBuildInformation
1292
-
Condition="'$(DeviceSpecificBuild)' == 'true' And '$(TargetiOSDevice)' != '' And '$(_CanDeployToDeviceOrSimulator)' == 'true' And '$(_PlatformName)' != 'macOS'"
1292
+
Condition="'$(DeviceSpecificBuild)' == 'true' And '$(TargetiOSDevice)' != '' And '$(_CanDeployToDeviceOrSimulator)' == 'true' And '$(_PlatformName)' != 'macOS' And '$(_PlatformName)' != 'MacCatalyst'"
0 commit comments