Version requirements for .NET 8 SDK

Per the published support rules, the minimum Visual Studio and MSBuild version for each new major release is updated with a one quarter delay. For the .NET 8 release, 8.0.100 requires version 17.7 to be loaded but only supports targeting .NET 7 in that version. To target net8.0, you must use version 17.8 or later.

Version introduced

.NET SDK 8 RC 1

Previous behavior

.NET 7.0.1xx versions required version 17.4 of Visual Studio and MSBuild. .NET 7.0.4xx versions required version 17.7 of Visual Studio and MSBuild.

New behavior

.NET 8.0.1xx SDK versions require Visual Studio 2022 version 17.7 and MSBuild version 17.7.

Type of breaking change

This change can affect source compatibility.

Reason for change

This is our standard support policy for the SDK as we can't support all prior versions of Visual Studio and MSBuild.

Upgrade your Visual Studio version to the required version.

Affected APIs

N/A

See also