CommunityToolkit / Graph-Controls

Set of Helpers and Controls for Windows development using the Microsoft Graph.
https://docs.microsoft.com/en-us/windows/communitytoolkit/graph/overview
Other
155 stars 39 forks source link

Login window did not popup in WinUI 3 project when using Trim #209

Closed aiguoli closed 1 year ago

aiguoli commented 1 year ago

I use the CommunityToolkit.Graph library in my WinUI 3 project. When the PublishTrimmed property is set to true, the login window did not show up as it should, while it works fine with PublishTrimmed set to false.

// Package
CommunityToolkit.Authentication = 7.1.4
CommunityToolkit.Authentication.Msal = 7.1.4
CommunityToolkit.Graph = 7.1.4
CommunityToolkit.Mvvm = 8.2.1
CommunityToolkit.WinUI.UI = 7.1.2
Microsoft.Extensions.DependencyInjection = 7.0.0
Microsoft.WindowsAppSDK = 1.3.230602002
private readonly IProvider _provider = ProviderManager.Instance.GlobalProvider;

public async Task Login()
{
    await _provider.SignInAsync();
}
ghost commented 1 year ago

Hello aiguoli, thank you for your interest in Graph Controls!

I have automatically added a "needs triage" label to help get things started. Our team will look into the question and answer ASAP. Other community members may also answer the question and provide feedback 🙌

ghost commented 1 year ago

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

ghost commented 1 year ago

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

ghost commented 1 year ago

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.