[dotnet] Collect compressed frameworks into the _CompressedAppleFrameworks item group and remove them from ResolvedFileToPublish.
The _DecompressAppleFrameworks target will process all the items in the _CompressedAppleFrameworks item group, decompress them and add them to _FrameworkNativeReference. The compressed file itself is not copied to the app bundle.
This commit is contained in:
Родитель
2244a45e56
Коммит
5423457fd8
|
@ -1304,6 +1304,10 @@
|
||||||
<_UnresolvedXCFrameworks Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.PublishFolderType)' == 'AppleFramework' And '%(Extension)' == '.xcframework'" />
|
<_UnresolvedXCFrameworks Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.PublishFolderType)' == 'AppleFramework' And '%(Extension)' == '.xcframework'" />
|
||||||
<!-- remove them all from the built-in .NET publish logic -->
|
<!-- remove them all from the built-in .NET publish logic -->
|
||||||
<ResolvedFileToPublish Remove="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.PublishFolderType)' == 'AppleFramework'" />
|
<ResolvedFileToPublish Remove="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.PublishFolderType)' == 'AppleFramework'" />
|
||||||
|
|
||||||
|
<!-- compressed frameworks are uncompressed, but the compressed file is not copied to the app bundle -->
|
||||||
|
<_CompressedAppleFrameworks Include="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.PublishFolderType)' == 'CompressedAppleFramework'" />
|
||||||
|
<ResolvedFileToPublish Remove="@(_CompressedAppleFrameworks)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- resolve any .xcframeworks and binding resource packages -->
|
<!-- resolve any .xcframeworks and binding resource packages -->
|
||||||
|
|
Загрузка…
Ссылка в новой задаче