mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #1122] [MERGED] Readd netstandard 2.0 #1550
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/1122
Author: @adamhathcock
Created: 1/8/2026
Status: ✅ Merged
Merged: 1/8/2026
Merged by: @adamhathcock
Base:
master← Head:adam/netstandard-20-readd📝 Commits (1)
ec83cf5Readd netstandard 2.0📊 Changes
3 files changed (+107 additions, -6 deletions)
View changed files
📝
src/SharpCompress/Common/Zip/WinzipAesEncryptionData.cs(+1 -1)📝
src/SharpCompress/SharpCompress.csproj(+2 -5)📝
src/SharpCompress/packages.lock.json(+104 -0)📄 Description
addresses later comments on https://github.com/adamhathcock/sharpcompress/issues/1048
This pull request expands support for the SharpCompress library by adding the
netstandard2.0target framework. The changes ensure compatibility with more .NET platforms, update dependency management, and adjust conditional logic to include the new framework where appropriate.Framework support and compatibility:
netstandard2.0to theTargetFrameworksproperty inSharpCompress.csproj, enabling builds for .NET Standard 2.0.WinzipAesEncryptionData.csto includeNETSTANDARD2_0alongsideNETFRAMEWORKfor password-based key derivation.Dependency management:
SharpCompress.csprojso thatMicrosoft.Bcl.AsyncInterfaces,System.Text.Encoding.CodePages, andSystem.Buffersare included for bothnet48andnetstandard20targets..NETStandard,Version=v2.0inpackages.lock.json, specifying direct and transitive dependencies required for this framework.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.