Skip to content

Conversation

@dcabib
Copy link
Contributor

@dcabib dcabib commented Sep 12, 2025

This PR addresses issue #749 by deprecating .NET 6 support.

Changes Made:

  • ✅ Removed net6.0 from TargetFrameworks in both Directory.Build.props files
  • ✅ Updated to target only net8.0

Remaining Work:

  • Remove all #if NET6_0 conditional compilation blocks
  • Remove #if NET8_0_OR_GREATER blocks and keep only the .NET 8+ code

Breaking Change:

Yes, this removes .NET 6 support. Projects will need to upgrade to .NET 8.

Fixes #749

- Updated Directory.Build.props files to target only net8.0
- Addresses issue aws-powertools#749 for .NET 6 deprecation
@boring-cyborg boring-cyborg bot added the tests label Sep 12, 2025
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 12, 2025
- Remove all #if NET6_0 conditional compilation blocks
- Remove #if NET8_0_OR_GREATER blocks and keep only .NET 8+ code
- Update all project files to target only net8.0
- Update documentation references from .NET 6 to .NET 8
- Update examples and tests to use .NET 8 only

Fixes aws-powertools#749
- Remove all #if NET6_0 conditional compilation blocks
- Remove #if NET8_0_OR_GREATER blocks and keep only .NET 8+ code
- Update all project files to target only net8.0
- Update documentation references from .NET 6 to .NET 8
- Update examples and tests to use .NET 8 only
- Change TargetFrameworks to TargetFramework (singular)

This brings the PR in line with the comprehensive changes from the original PR.

Fixes aws-powertools#749
@boring-cyborg boring-cyborg bot added documentation Improvements or additions to documentation github-actions Changes in GitHub workflows internal Maintenance changes labels Sep 12, 2025
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

@dcabib
Copy link
Contributor Author

dcabib commented Sep 12, 2025

Closing this PR to create a clean version with only .NET 6 deprecation changes, without unrelated modifications from develop branch updates.

@dcabib dcabib closed this Sep 12, 2025
@dcabib dcabib deleted the deprecate-dotnet6-v2 branch September 12, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation github-actions Changes in GitHub workflows internal Maintenance changes size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maintenance: Deprecate .NET 6

2 participants