Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Olina-Zhang opened this issue Aug 30, 2024 · 4 comments
Assignees
Labels
Area-NetSDK untriaged Request triage from a team member

Comments

@Olina-Zhang
Copy link
Member

Olina-Zhang commented Aug 30, 2024

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

  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

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-NetSDK untriaged Request triage from a team member labels Aug 30, 2024
@KalleOlaviNiemitalo
Copy link

https://learn.microsoft.com/en-us/lifecycle/products/windows-10-enterprise-and-education shows support for Windows 10 Enterprise version 20H2 ended on May 9, 2023.

https://learn.microsoft.com/en-us/dotnet/core/install/windows#supported-versions says .NET is not supported on end-of-life versions of Windows.

@Tanya-Solyanik
Copy link
Member

@Olina-Zhang - are you sure this is specific to Windows 10 20H2(OS build 19042.2965)? Otherwise it looks like a dupe of dotnet/msbuild#10579

@KalleOlaviNiemitalo
Copy link

The screen shot shows a "Faulting application" error in the Application event log. dotnet/msbuild#10579 would not cause that.

@Olina-Zhang
Copy link
Member Author

@Tanya-Solyanik Today I verified more Windows versions, It also reproes in Windows 10 21H1, but not Windows 10 21H2 and above. This issue is about created Winforms/WPF apps cannot be ran.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-NetSDK untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

4 participants