You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<
7E6E
a class="StickyHeaderTitle-module__stickyTitleLink--nH4Ae prc-Link-Link-85e08" href="#top">Microsoft.Extensions.Configuration.Binder Package Causes Application Crash When Installed in .NET 9 in MAUI App#49062
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.