dotnet / dotnet/wpf

.NET 7 WPF app doesn't run on specific Windows 11 desktops

Open
#7,992 15 comments 0 reactions 0 assignees View on GitHub
area-infrastructure Needs minimal repro project needs more information
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Describe the bug

I have a WPF app that targets .NET 7. It runs successfully on three, separate Windows computers. On two, identical, Windows 11 computers, purchased this year, the application does not even open. No window opens and the app does not show in Task Manager. On the two computers in question, dotnet --list-runtimes reports:

Microsoft.NETCore.App 7.0.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 7.0.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

### Expected Behavior

_No response_

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### .NET Version

7.0.8

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.