Skip to content

Bug: WebAuthenticationCoreManagerInterop does not work if AOT is enabled #1926

Open
@lhak

Description

@lhak

Description

Calling WebAuthenticationCoreManagerInterop.RequestTokenForWindowAsync() results in the following error message if AOT is enabled:

Cannot retrieve a helper type for generic public type 'Windows.Foundation.IAsyncOperation`1[Windows.Security.Authentication.Web.Core.WebTokenRequestResult]'

Steps To Reproduce

  1. Call WebAuthenticationCoreManagerInterop.RequestTokenForWindowAsync()

Expected Behavior

Should work as with AOT disabled

Version Info

cswinrt 2.2
.net windows sdk 10.0.22621.56

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions