Downgrade Microsoft.Bcl.AsyncInterfaces to 8.0.0 for .NET Framework 4.8 compatibility#1225
Closed
Downgrade Microsoft.Bcl.AsyncInterfaces to 8.0.0 for .NET Framework 4.8 compatibility#1225
Conversation
…compressions # Conflicts: # src/SharpCompress/Archives/GZip/GZipArchive.Async.cs # src/SharpCompress/Archives/GZip/GZipArchive.cs # src/SharpCompress/Archives/Zip/ZipArchive.Async.cs # src/SharpCompress/Archives/Zip/ZipArchive.cs # src/SharpCompress/Common/GZip/GZipEntry.Async.cs # src/SharpCompress/Common/GZip/GZipEntry.cs # src/SharpCompress/Common/Options/IReaderOptions.cs # src/SharpCompress/Readers/ReaderOptions.cs # src/SharpCompress/Readers/Zip/ZipReader.Async.cs # src/SharpCompress/Readers/Zip/ZipReader.cs # src/SharpCompress/Writers/GZip/GZipWriterOptions.cs
# Conflicts: # tests/SharpCompress.Performance/Benchmarks/TarBenchmarks.cs # tests/SharpCompress.Performance/Benchmarks/ZipBenchmarks.cs # tests/SharpCompress.Performance/baseline-results.md
… Unknown Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
…pe-entry Fix CompressionType for WinZip AES encrypted ZIP entries
Tightening build errors by warnings as errors and making more build time issues
Use more SharpCompress exceptions instead of generic ones
… Framework 4.8 compatibility Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix 7zip opening issue in ArchiveFactory
Downgrade Microsoft.Bcl.AsyncInterfaces to 8.0.0 for .NET Framework 4.8 compatibility
Feb 17, 2026
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (3 files)
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR downgrades Microsoft.Bcl.AsyncInterfaces from version 10.0.0 to 8.0.0 to resolve assembly binding conflicts that prevented SharpCompress from opening archives on .NET Framework 4.8 and .NET 10.0. Version 10.0.0 caused FileLoadException when calling ArchiveFactory.OpenArchive(), affecting core library functionality.
Changes:
- Downgraded
Microsoft.Bcl.AsyncInterfacesfrom 10.0.0 to 8.0.0 in centralized package management - Updated package lock files to reflect the new dependency graph, including the transitive downgrade of
System.Threading.Tasks.Extensionsfrom 4.6.3 to 4.5.4
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Directory.Packages.props | Changed Microsoft.Bcl.AsyncInterfaces version from 10.0.0 to 8.0.0 in central package version management |
| src/SharpCompress/packages.lock.json | Updated resolved package versions for .NET Framework 4.8 and .NET Standard 2.0 targets, including transitive dependency updates |
| tests/SharpCompress.Test/packages.lock.json | Updated test project package lock to match new dependency versions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version 10.0.0 of
Microsoft.Bcl.AsyncInterfacescauses assembly binding conflicts on .NET Framework 4.8 and .NET 10.0, preventing archives from being opened withArchiveFactory.OpenArchive():Changes
Microsoft.Bcl.AsyncInterfacesfrom 10.0.0 to 8.0.0 inDirectory.Packages.propsVersion 8.0.0 maintains all required functionality while resolving the binding conflict for legacy framework targets (net48, netstandard2.0).
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.