I'm looking into Microsoft.Identity.Client.Desktop.WinUI3 as I'd like to use it for OneDrive integration, however I noticed a few issues with the package:
- The TFM is just .NET 8 and (crucially) the package declares no trim/AOT support. I can also verify in ILSpy that the CsWinRT's generators for AOT didn't run, and there's no additional supporting marshalling code in the assembly.
- The package references
Microsoft.WindowsAppSDK instead of just the specific sub-packages needed
Also: why is the login flow done with a Window hosting a WebView2, rather than with the dedicated OAuth2Manager?
Thank you!
I'm looking into
Microsoft.Identity.Client.Desktop.WinUI3as I'd like to use it for OneDrive integration, however I noticed a few issues with the package:Microsoft.WindowsAppSDKinstead of just the specific sub-packages neededAlso: why is the login flow done with a
Windowhosting aWebView2, rather than with the dedicatedOAuth2Manager?Thank you!