Skip to content
Evergreen Evergreen
Documentation

.NET 7 is no longer supported

End of support as of 2024-05-14. Replacement: .NET 10 (LTS), or the newest supported .NET release. Source: .NET and .NET Core official support policy.

Check a version:

evergreen check pkg:generic/dotnet

.NET 7 (Standard Term Support) reached the end of its support on 2024-05-14. Microsoft no longer ships security or quality fixes for it. The same line applies to the SDK that carries it, so a global.json pinning an SDK 7.0.x is reported too.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status End of support
Severity high
Ecosystem dotnet
Component pkg:generic/dotnet
Affected versions vers:semver/>=7.0.0\|<7.1.0
Date from the source 2024-05-14
Replacement .NET 10 (LTS), or the newest supported .NET release
Evidence last seen 2026-10-17
Reviewed 2026-10-17 by arminazimi
Review due 2027-01-15 (90 days after the last review)
Rule ID dotnet.runtime.end-of-support-7.0

Sources

Migration

Constraints

  • Move the project files, global.json, CI images, and container base images to the same release line; a mix hides the old runtime.
  • Read the breaking-changes list of each release between the old and new line before raising the target.

Steps

  1. Raise the target framework. Change the reported TargetFramework (or TargetFrameworks entry) from the 7.0 line to a supported one, for example net10.0.
  2. Raise the SDK pin. Update the sdk version in global.json to an SDK of the same supported line, or remove the pin if the repository does not need one.
  3. Align CI and container images. Update setup-dotnet versions in CI and the mcr.microsoft.com/dotnet images in Dockerfiles to the new line.

Verification

  • dotnet --list-sdks && dotnet --list-runtimes: Confirm the SDK and runtime in use are the intended supported release.
  • dotnet build && dotnet test: Build and test every project on the new target.

Detected by

The dotnet detector. See Detectors and Compatibility.

Other versions of this product

Same ecosystem

Data

This page is generated from registry/dotnet.json, rule dotnet.runtime.end-of-support-7.0, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated