Skip to content

Commit

Permalink
Fix _AppExtensionRoot calculation to allow for MacCatalyst
Browse files Browse the repository at this point in the history
  • Loading branch information
enclave-alistair committed Feb 15, 2023
1 parent 3d36e8a commit 1d6971b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions msbuild/Xamarin.Shared/Xamarin.Shared.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2271,8 +2271,8 @@ Copyright (C) 2018 Microsoft. All rights reserved.
</ItemGroup>

<PropertyGroup>
<_AppExtensionRoot Condition="'$(_PlatformName)' == 'macOS'">$(_AppBundlePath)Contents\</_AppExtensionRoot>
<_AppExtensionRoot Condition="'$(_PlatformName)' != 'macOS'">$(_AppBundlePath)</_AppExtensionRoot>
<_AppExtensionRoot Condition="'$(_PlatformName)' == 'macOS' Or '$(_PlatformName)' == 'MacCatalyst'">$(_AppBundlePath)Contents\</_AppExtensionRoot>
<_AppExtensionRoot Condition="'$(_PlatformName)' != 'macOS' And '$(_PlatformName)' != 'MacCatalyst'">$(_AppBundlePath)</_AppExtensionRoot>
</PropertyGroup>
</Target>

Expand Down

0 comments on commit 1d6971b

Please sign in to comment.