Start Debugging
2026-02-07 netwindows

.NET Framework 3.5 is going “standalone” on new Windows builds (what breaks in automation)

Microsoft changed something that a lot of devs and IT folks automated and then forgot about: starting with Windows 11 Insider Preview Build 27965, .NET Framework 3.5 is no longer included as an optional Windows component. If you need it, you now have to obtain it as a standalone installer. This is a .NET Framework…

Microsoft changed something that a lot of devs and IT folks automated and then forgot about: starting with Windows 11 Insider Preview Build 27965, .NET Framework 3.5 is no longer included as an optional Windows component. If you need it, you now have to obtain it as a standalone installer.

This is a .NET Framework story, but it will hit teams building modern services in .NET 10 and C# 14 because the pain shows up in places like fresh developer machines, ephemeral CI agents, golden images, and locked down networks.

The key detail: “NetFx3” is not guaranteed anymore

From the post:

If your scripts assume “enable the feature and Windows will handle it”, expect breakage on the newer line.

What your provisioning should do now

Treat .NET Framework 3.5 as a dependency you explicitly provision and verify. At minimum:

Here is a practical guardrail you can drop into build agent provisioning or a “preflight” step:

# Works on Windows PowerShell 5.1 and PowerShell 7+
$os = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion'
$build = [int]$os.CurrentBuildNumber

Write-Host "Windows build: $build"

# Query feature state (if the OS exposes it this way)
dism /online /Get-FeatureInfo /FeatureName:NetFx3

if ($build -ge 27965) {
  Write-Host ".NET Framework 3.5 is obtained via standalone installer on this Windows line."
  Write-Host "Official guidance (installers + compatibility + migration paths):"
  Write-Host "https://go.microsoft.com/fwlink/?linkid=2348700"
}

This does not install anything by itself. It makes the failure explicit, early, and easy to interpret when a machine image silently changed under you.

The “why” you should act on now

Even if you plan to migrate, you probably still have:

So the immediate win is not “stay on 3.5”. The immediate win is making your environment predictable while you work towards supported targets.

Sources:

< Back