8000 Microsoft.Extensions.Configuration.Binder Package Causes Application Crash When Installed in .NET 9 in MAUI App · Issue #49062 · dotnet/sdk · GitHub
[go: up one dir, main page]

Skip to content
Microsoft.Extensions.Configuration.Binder Package Causes Application Crash When Installed in .NET 9 in MAUI App #49062
@robinwilson16

Description

@robinwilson16

Description

If the Microsoft.Extensions.Configuration.Binder package is installed in the default .NET MAUI App then the app fails to launch and just crashes.
This happens with a newly created app and no other dependencies as well as one with existing dependencies. It used to work in .NET MAUI 8.

Uninstalling the package enables the app to launch and installing the package breaks it again so this package just doesn't work in .NET 9.
I am creating an app to read and write .appsettings configuration files so this bug is a bit of a blocker.
Visual Studio is up to date at version 17.13.6 released on 9th April 2025.

Steps to Reproduce

Create a new .NET MAUI App
Run it to check it opens
Install the Configuration Binder package:
Install-Package Microsoft.Extensions.Configuration.Binder

Run the app again and you will find it now crashes:
The program '[17064] ConfigureImportExport.exe' has exited with code 3221226356 (0xc0000374).

Link to public reproduction project repository

No response

Version with bug

9.0.60 SR6

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.3 GA

Affected platforms

Windows, I was not able test on other platforms

Affected platform versions

Windows 11

Did you find any workaround?

Uninstalling the package causing the crash allows it to work again but without the functionality of the package.

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    untriagedRequest triage from a team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0