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
My application supports the following platforms ( linux-x64, linux-arm64, windows and mac-osx )
All the builds happen on windows 11 except for max-osx.
I copy the files from the PC to the mac, publish and copy the files mac to the PC for packaging. I use remote powershell to do this.
Before I send the files back to the PC, I compress the files using Compress-Archive. However this does not work when I decompress the files back on the mac and run the application it crashes.
What I discovered is that the .app file created via publish creates a .xamarin directory that does not get compressed as stated in the Compress-Archive documentation.
Note
The Compress-Archive cmdlet ignores hidden files and folders when creating or updating the archive file.
To ensure hidden files and folders are compressed into the archive, use the .NET API instead.
So had to use the following .NET api call to get around the issue.
triage/untriagedIndicates an issue requires triaging or verificationkind/feedbackCategorizes issue as related to feedback from people are using Uno or are considering adoption
1 participant
Converted from issue
This discussion was converted from issue #19507 on February 11, 2025 19:45.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Your feedback
My application supports the following platforms ( linux-x64, linux-arm64, windows and mac-osx )
All the builds happen on windows 11 except for max-osx.
I copy the files from the PC to the mac, publish and copy the files mac to the PC for packaging. I use remote powershell to do this.
Before I send the files back to the PC, I compress the files using Compress-Archive. However this does not work when I decompress the files back on the mac and run the application it crashes.
What I discovered is that the .app file created via publish creates a .xamarin directory that does not get compressed as stated in the Compress-Archive documentation.
Note
The Compress-Archive cmdlet ignores hidden files and folders when creating or updating the archive file.
To ensure hidden files and folders are compressed into the archive, use the .NET API instead.
So had to use the following .NET api call to get around the issue.
[System.IO.Compression.ZipFile]::CreateFromDirectory($container, $zipPath)
Dont know if this should be documentation thing or not.
Thanks,
Bob
Beta Was this translation helpful? Give feedback.
All reactions