-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] MSAL.Net RuntimeBroker doesn't support NativeAOT on windows. #4424
Comments
Related issue: #4424 |
This bug will have been fixed in the broker interop https://github.com/AzureAD/microsoft-authentication-library-for-cpp/pull/3807/files (private repo) but not yet released. @ashok672, @iulico-1 - regular release goes out every Thu of every month, so next one is scheduled on Dec 7. Happy to help with an out of band release if needed by partners. |
Released in 4.58.0. |
I'm still having issues even with 4.58.0:
Maybe it is related to this? |
I did have an ILC warning during my compilation, mentioning exactly that method: |
Oh, actually that was a misconfiguration in my compilation. I had SelfContained=false. It had to be true. |
Library version used
4.57.0
.NET version
8.0
Scenario
PublicClient - desktop app
Is this a new or an existing app?
None
Issue description and reproduction steps
Calling await _app.GetAccountsAsync() with nativeaot turned on throws an exception.
Relevant code snippets
Expected behavior
Works with NativeAOT.
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
No response
The text was updated successfully, but these errors were encountered: