-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Xamarin.Build.Download] Using 7z to extract .tgz files can cause the build task to hang forever. #1047
Comments
For any stumbling across this issue, there's a manual workaround that allows me to build my project again:
|
Having this error while building MAUI .NET 9 for iOS. Solved following workaround from previous message:
|
Seems to happen to any Google archive using the Xamarin.Build.Download.XamarinDownloadArchives process on Windows. Happens with the Google Maps library as well (as used in this package): I had to extract the |
I tried this solution and it first failed on the manual extract because of some priviliges.
which is a .symlink file. I dont have experience with these files but i cant seem to enable acces to the file, when i righ click > properties > security, all my users (even the one im on rn, which should be admin) have full access and permissions, but it still denies me enty. I tried following the target path, as symlink seems to be some sort of shortcut type of file, and all files after the modules one i can access without permissions issues, its just the modules one that's getting me stuck. Any solutions for this? |
This has been happening forever and been logged previously. Just never fixed. Using 7-Zip instead of 7z should fix the issue |
I want share "workarounds" that worked for me First, in case anyone is thinking I haven't seet long file names enables in windows, I have. There are two issues
Issues 1 leads to the issues mentioned here. Issue 2 leads to issues like those mentioned here Here is my work around which fixed these issues In my project folder I put the following. <PropertyGroup Condition="'$(TargetFramework)' == 'net8.0-android'">
<RestorePackagesPath>c:\pk</RestorePackagesPath>
<IntermediateOutputPath>C:\Cache\$(MSBuildProjectName)\obj\</IntermediateOutputPath>
<BaseOutputPath>C:\Cache\$(MSBuildProjectName)\out\</BaseOutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
<RestorePackagesPath>c:\pk</RestorePackagesPath>
<BaseOutputPath>../../../Cache\$(MSBuildProjectName)\out\</BaseOutputPath>
<IntermediateOutputPath>../../../Cache\$(MSBuildProjectName)\obj\</IntermediateOutputPath>
</PropertyGroup> |
In my case, I am temporarily using |
Ok thanks |
Android framework version
Other
Affected platform version
It should have started a long time ago.
Description
Currently, I am using the latest VS2022 17.12.0, and when building an iOS application on Windows, the build task hangs forever.
And through diagnostics, I had found that the process was stuck in the state of extracting GAppM-10.28.0.tgz.
4.Look, what have we found? It wants us to agree to whether to overwrite.
? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit?
Obviously, the extraction has been waiting for a response.
So, the fix is quite simple.
Relevant log output
The text was updated successfully, but these errors were encountered: