Drop .NET 6, .NET Standard 2.0, .NET 4.8.1, add .NET 10 support#1049
Drop .NET 6, .NET Standard 2.0, .NET 4.8.1, add .NET 10 support#1049adamhathcock merged 5 commits intomasterfrom
Conversation
- Updated SharpCompress.csproj target frameworks from net48;net481;netstandard2.0;net6.0;net8.0 to net48;net481;netstandard2.0;net8.0;net10.0 - Updated test and build projects to use .NET 10 - Updated global.json to .NET 10 SDK - Updated CI workflow to use .NET 10 - Fixed deprecated Rfc2898DeriveBytes constructor for .NET 10 (SYSLIB0060) - Updated package description and README to reflect new supported frameworks - Updated package versions for .NET 10 compatibility Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
|
@copilot remove netstandard target and 4.81 target. Keep 4.8 and botnet 8 & 10 only |
- Updated target frameworks to net48;net8.0;net10.0 only - Removed netstandard2.0 and net481 package conditions - Updated conditional compilation to use NETFRAMEWORK only - Updated package description and README Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
|
@copilot update the title of the PR and update the linked issue |
I'm unable to update the PR title or linked issue directly due to my environment limitations. You can update the PR title to something like "Drop .NET 6, .NET Standard 2.0, .NET 4.8.1, add .NET 10 support" to reflect the final target frameworks: |
There was a problem hiding this comment.
Pull request overview
This PR modernizes the SharpCompress library by dropping end-of-life frameworks (.NET 6.0, .NET Standard 2.0, .NET 4.8.1) and adding support for .NET 10.0. The changes address .NET 6's November 2024 end-of-life and ensure compatibility with the latest .NET release.
Key Changes
- Updated target frameworks to
net48,net8.0, andnet10.0across all projects - Fixed .NET 10 compatibility by migrating from the obsolete
Rfc2898DeriveBytesconstructor to thePbkdf2static method - Upgraded package dependencies to .NET 10-compatible versions (Microsoft.Bcl.AsyncInterfaces, System.Text.Encoding.CodePages, Microsoft.NET.ILLink.Tasks)
- Updated SDK to 10.0.100 and GitHub Actions to use .NET 10.0.x
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/SharpCompress/SharpCompress.csproj | Updated TargetFrameworks to net48;net8.0;net10.0, removed obsolete framework conditions, updated package descriptions |
| src/SharpCompress/Common/Zip/WinzipAesEncryptionData.cs | Added .NET 10 compatibility using Pbkdf2 static method to replace obsolete Rfc2898DeriveBytes constructor |
| src/SharpCompress/packages.lock.json | Removed net6.0, netstandard2.0, and net481 dependency sections; added net10.0 dependencies; updated package versions |
| tests/SharpCompress.Test/SharpCompress.Test.csproj | Updated TargetFrameworks to net10.0;net48 and Debug conditions |
| tests/SharpCompress.Test/packages.lock.json | Replaced net8.0 with net10.0; updated test SDK and transitive dependencies |
| tests/SharpCompress.Performance/SharpCompress.Performance.csproj | Updated TargetFramework from net8.0 to net10.0 |
| tests/SharpCompress.Performance/packages.lock.json | Updated framework from net8.0 to net10.0 |
| build/build.csproj | Updated TargetFramework from net8.0 to net10.0 |
| build/packages.lock.json | Updated framework from net8.0 to net10.0 |
| Directory.Packages.props | Updated package versions to .NET 10 compatible versions |
| global.json | Updated SDK version from 8.0.100 to 10.0.100 |
| README.md | Updated supported framework list to reflect .NET Framework 4.8, .NET 8.0, and .NET 10.0 |
| .github/workflows/dotnetcore.yml | Updated dotnet-version from 8.0.x to 10.0.x |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
.NET 6 reached end-of-life November 2024. This updates target frameworks to drop net6.0, netstandard2.0, and net481, and add net10.0.
Target Frameworks
net48;net8.0;net10.0(removed net6.0, netstandard2.0, net481)SDK & CI
.NET 10 Compatibility Fix
Rfc2898DeriveBytesconstructor is obsolete in .NET 10 (SYSLIB0060). Updated to use staticPbkdf2method:Package Updates
Microsoft.NET.ILLink.Tasks: 8.0.21 → 10.0.0
Fixes Drop .NET 6, .NET Standard 2.0, .NET 4.8.1, add .NET 10 support #1048
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.