Microsoft.Win32.OpenFileDialog cause application crash After update .NET9
Open
needs more information
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
After update .NET9, dialog.ShowDialog() crash the application . It happens on some machine, not all machine.
The same code work on .net8.
```
Microsoft.Win32.OpenFileDialog dialog = new Microsoft.Win32.OpenFileDialog();
bool? dialogResult = dialog.ShowDialog();
```
Contributor guide
Research direction
Start with the minimal C# example using Microsoft.Win32.OpenFileDialog and dialog.ShowDialog(), then compare its behavior on .NET 8 and .NET 9 across affected and unaffected machines. The issue names no source file or test; done means identifying the machine-specific conditions and preventing the .NET 9 crash without regressing the .NET 8 behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100