The process of installing, configuring, and customizing Visual Studio to support development workflows across languages, platforms, and workloads.
Visual Studio's out-of-process Windows Forms designer relies on the 64-bit .NET Desktop Runtime to render the design surface.
Check installed runtimes
Open a Command Prompt and run:
dotnet --list-runtimes
Look for this entry:
Microsoft.WindowsDesktop.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
If this specific Microsoft.WindowsDesktop.App line is missing, or if it points to Program Files (x86) instead of Program Files, the 64-bit designer host cannot run.
Install the missing Desktop Runtime
- Go to: https://dotnet.microsoft.com/en-us/download/dotnet/6.0
- Under the .NET Desktop Runtime 6.0.36 section, specifically download and install the x64 installer (not x86 or the basic .NET Runtime).
- Restart Visual Studio.
Note: If you install it and the error persists, run
where dotnet
in Command Prompt to make sure C:\Program Files\dotnet\dotnet.exe appears above the Program Files (x86) path in your system PATH variable.