[msbuild] The app resources directory is the Contents/Resources subdirectory in the app for catalyst apps

This commit is contained in:
Rolf Bjarne Kvinge 2020-11-18 13:44:12 +01:00
Родитель 699d842c5c
Коммит 0d12c42c8a
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -292,7 +292,8 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
<Target Name="_GenerateBundleName" Condition="'$(_CanOutputAppBundle)' == 'true'" DependsOnTargets="_ComputeTargetArchitectures;_GenerateAppBundleName;_GenerateAppExBundleName">
<PropertyGroup>
<_AppResourcesPath>$(_AppBundlePath)</_AppResourcesPath>
<_AppResourcesPath Condition="'$(_IsMacCatalyst)' == 'true'">$(_AppBundlePath)Contents\Resources\</_AppResourcesPath>
<_AppResourcesPath Condition="'$(_IsMacCatalyst)' != 'true'">$(_AppBundlePath)</_AppResourcesPath>
</PropertyGroup>
</Target>