Microsoft Releases .NET 11 Preview 7 With Major Toolchain Changes


dotnet11 preview 7
Image credit: Microsoft

Microsoft has released .NET 11 Preview 7, bringing major changes to the SDK, build toolchain, C#, ASP.NET Core, Windows Forms, and other parts of the platform.

The release enables the MSBuild server and NativeAOT CLI by default, changes Microsoft says should help reduce build times and container overhead, particularly in cloud workloads.

.NET 11 Preview 7 changes the default toolchain

The .NET 11 SDK now enables MSBuild server and NativeAOT CLI automatically. The dotnet test command also gains new –timeout and –maximum-failed-tests options.

Microsoft has added support for traversal projects, while container publishing now uses platform-native defaults.

Developers testing Preview 7 in production-like environments may need to review build configurations, container packaging, and platform bindings because of the new defaults.

C# gains new language features

C# in .NET 11 Preview 7 adds support for labeled break and continue statements, giving developers more control over complex loops.

Microsoft has also introduced union patterns and improved exhaustiveness checking for closed-type constraints.

The wider Preview 7 release includes updates across Libraries, Runtime, SDK, C#, ASP.NET Core, .NET MAUI, Entity Framework Core, F#, and Windows Forms.

Blazor and Windows Forms also get improvements

Blazor now supports automatically paused circuits, while ASP.NET Core adds OpenAPI 3.2 support for Server-Sent Events.

Windows Forms receives changes intended to reduce flashes when applications switch to dark mode. Microsoft has also improved integration with Windows system visual styles.

Microsoft recommends Visual Studio 2026 Insiders or Visual Studio Code with the C# Dev Kit extension for developers targeting .NET 11 Preview 7.

.NET 11 moves toward release candidate builds

Preview 7 is expected to be the final preview before .NET 11 reaches the release candidate stage.

Microsoft plans two release candidates for September and October 2026, followed by the general availability release on November 10, 2026. Support for .NET 11 is currently scheduled to continue through November 9, 2028.

In other Microsoft news, the company recently patched an actively exploited WinSock vulnerability, while the newly disclosed ShieldBreak zero-day can gain SYSTEM access even on fully patched Windows systems.

More about the topics: .NET Framework, microsoft

Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

User forum

0 messages