Skip to content

feat!: update to .NET 8 and supported frameworks - #1229

Open
kridai wants to merge 1 commit into
mainfrom
feat/dotnet8-supported-frameworks
Open

kridai wants to merge 1 commit into
mainfrom
feat/dotnet8-supported-frameworks

Conversation

@kridai

@kridai kridai commented Oct 19, 2026

Copy link
Copy Markdown

Resolves DII-2561.

Changes

  • SendGrid.csproj: netstandard1.3;netstandard2.0;net452;net40 -> net8.0;netstandard2.0;net462 (drops EOL targets, removes the net40-only Microsoft.Bcl.Async/Microsoft.Net.Http references).
  • Test projects and ExampleCoreProject -> net8.0; ExampleNet45Project -> net462.
  • Added global.json pinning the 8.0 SDK; Dockerfile moved to the .NET 8 SDK image (no mono / SDK 2.1).
  • README supported-framework list and example links updated.

Breaking: consumers on .NET Framework < 4.6.2, .NET Core < 2.0 or netstandard1.x can no longer install the new version.

Testing

Local .NET 8.0.426 SDK: solution builds with 0 warnings/errors and dotnet pack produces the package for all three targets. Non-integration tests: 117 pass, 1 fails (LicenseTests.ShouldHaveCurrentYearInLicense, LICENSE says 2024 — unrelated to this change). Integration tests need the Prism mock (make test-docker) and were not run.

Merge order

Depends on #1228, which switches the workflows to read the SDK version from global.json (the old workflows pin 3.1.x and can't build net8.0).

🤖 Generated with Claude Code

Drop end-of-life targets (netstandard1.3, net452, net40) in favour of
net8.0, netstandard2.0 and net462. Tests and examples move to net8.0,
global.json pins the 8.0 SDK.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant