unoplatform / uno.templates

Uno Platform project templates
https://platform.uno/
Other
17 stars 10 forks source link

[GTK] MSAL Authentication fails on startup #426

Open MartinZikmund opened 1 year ago

MartinZikmund commented 1 year ago

Current behavior

When GTK app with MSAL Authentication is created, it fails on startup with:

System.IO.FileNotFoundException: 'Could not load file or assembly 'Uno.Extensions.Authentication.MSAL.WinUI, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.'

Expected behavior

Should not fail.

How to reproduce it (as minimally and precisely as possible)

  1. Create a blank Uno app which includes MSAL authentication via wizard
  2. Run the app on GTK - fails

Environment

Nuget Package:

Package Version(s):

Affected platform(s):

Skia GTK

Visual Studio:

Relevant plugins:

Anything else we need to know?

MartinZikmund commented 1 year ago

Similar issue exists for WPF - https://github.com/unoplatform/uno.extensions/issues/2004

nickrandolph commented 1 year ago

Moving to template (restriction already in place in the wizard)