dotnet / dotnet/winforms

.NET 9.0 Error with DialogFileOpen

Open
#13,832 6 comments 0 reactions 0 assignees View on GitHub
needs-area-label untriaged
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
1d 13m
Merged PRs (30d)
85

Description

### .NET version

.NET 9.0

### Did it work in .NET Framework?

Yes

### Did it work in any of the earlier releases of .NET Core or .NET 5+?

.NET 8.0

### Issue description

I created a vb.net projekt with .NET 9.0 via project wizzard. The Project only contains a FileOpenDialog from object pallete. As soon as the dialoge is used the programm unexpectedly closes with the following text:

The program '[11668] TestNet9.exe' has exited with code 3221226505 (0xc0000409).

I changed the project to .NET 8.0 without any further modifications. Now there is no problem anymore!

### Steps to reproduce

1. Create new Project with vb.net 9.0
2. Add a new FileOpenDialog
3. Compile and run program
4. Open dialog
5. close dialog
6. wait some seconds (+- 30 seconds)
7. program closes with code 3221226505 (0xc0000409).

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.