unoplatform / uno.extensions

Libraries to ease common developer tasks associated with building multi-platform mobile, desktop and web applications using Uno Platform or WinAppSDK.
https://platform.uno/
Other
75 stars 47 forks source link

[Authentication] Are Navigation Extensions required for MSAL? #2067

Open MartinZikmund opened 1 year ago

MartinZikmund commented 1 year ago

Current behavior

In my app that has MSAL authentication and not navigation extensions, build fails once I add the MSAL NuGet with:

CSC : error CS8785: Generator 'ForceBindingsUpdateGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'InvalidOperationException' with message 'Failed to resolve types Uno.Extensions.Navigation.UI.Controls.ForceUpdateAttribute'.

Expected behavior

Should not happen, the ForceBindingsUpdateGenerator should not be running.

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

Clone https://github.com/MartinZikmund/mzikmund/tree/bug-repro/msal and try to build MZikmund.Windows app

Environment

Nuget Package:

Package Version(s):

Affected platform(s):

Visual Studio:

Relevant plugins:

Anything else we need to know?

nickrandolph commented 12 months ago

@MartinZikmund can you provide the template values you used to get this scenario.