[dotnet] Update the relative path of every item left in ResolveFileToPublish.

Update the relative path of every item in the ResolveFileToPublish item group to
be relative to the root of the app bundle.
This commit is contained in:
Rolf Bjarne Kvinge 2021-08-12 12:30:57 +02:00
Родитель 62e5655009
Коммит acdd27a9ef
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -1339,6 +1339,9 @@
<_CompressedAppleBindingResourcePackage Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.PublishFolderType)' == 'CompressedAppleBindingResourcePackage'" />
<ResolvedFileToPublish Remove="@(_AppleBindingResourcePackage)" />
<ResolvedFileToPublish Remove="@(_CompressedAppleBindingResourcePackage)" />
<!-- Rewrite the relative path so that everything ends up in the app bundle -->
<ResolvedFileToPublish RelativePath="$(_RelativeAppBundlePath)\%(RelativePath)" />
</ItemGroup>
<!-- resolve any .xcframeworks and binding resource packages -->