Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Xamarin.Android.Build.Tasks/Tasks/BuildArchive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ bool ShouldFallbackToLibZipSharp ()
// Always fallback on .NET Framework
var frameworkDescription = RuntimeInformation.FrameworkDescription;
Log.LogDebugMessage ($"RuntimeInformation.FrameworkDescription: {frameworkDescription}");
if (frameworkDescription != ".NET") {
Log.LogDebugMessage ("Falling back to LibZipSharp because we are *not* running on .NET 6+.");
if (Environment.Version.Major < 6) {
Comment thread
jonathanpeppers marked this conversation as resolved.
Log.LogDebugMessage ($"Falling back to LibZipSharp because we are *not* running on .NET 6+, Environment.Version.Major: {Environment.Version.Major}");
return true;
}

Expand Down