dotnet / dotnet/sdk

Winforms/WPF .NET9.0 app cannot be ran on Windows 10 20H2(OS build 19042.2965)

Open
#43,115 11 comments 0 reactions 1 assignee Claimed by @baronfel View on GitHub
Area-NetSDK untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Describe the bug
Winforms/WPF .NET9.0 app cannot be ran on Windows 10 20H2(OS build 19042.2965) and Windows 10 21H1, but .NET 8.0 apps work well

### To Reproduce
1. Install the latest .NET 9.0 RC2 SDK build from: https://github.com/dotnet/sdk/blob/main/documentation/package-table.md
2. Create a Winforms application by CLI
![image](https://github.com/user-attachments/assets/16c7e645-8c4d-45a4-b578-c81946c688d3)

3. Build and run created Winforms application by CLI

**Actual result**: `dotnet build` successfully, but `dotnet run` failed with nonsense characters output, Winforms runtime doesn't display
![image](https://github.com/user-attachments/assets/32e6d97a-174c-44eb-9cde-0d285303bae5)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.