Skip to content

OpenFileDialog / SaveFileDialog will shutdown WPF application with Error #10318

Description

@samanoudi

Description

have an issue using OpenFileDialog/ SaveFileDialog in .NET 9.0 WPF Application. When shown the Dialog and hovering/clicking with the mouse on the Drive selection parts the WPF app will exit with the following error :

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

Image

Note: Using the Quicklinks, and Selecting Files is working without any Errors. Reverting the Application to Target .NET 8 the error will go away. This is calling method.

Reproduction Steps

private void Button_Click(object sender, RoutedEventArgs e)
{
OpenFileDialog f= new OpenFileDialog();
f.ShowDialog();
}

Expected behavior

Opening a FielDialog and selecting drives, folder and files

Actual behavior

App Shuts down with Error

Regression?

.Net8

Known Workarounds

No response

Configuration

Windows 11
Net9 var 9.102

Other information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    InvestigateRequires further investigation by the WPF team.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions