droyer
droyer

Reputation: 81

Cannot find type System.Windows.DependencyObject in module WindowsBase.dll

I'm using WinUI 3. I used the Project Reunion 0.5 (Blank App WinUI 3 in Desktop). I removed the x86 and arm64 architecture. As soon as I add the Microsoft.Identity.Client nuget package, I have this error : Xaml Internal Error error WMC9999: Cannot find type System.Windows.DependencyObject in module WindowsBase.dll.

Does anyone have the solution of this problem ?

Upvotes: 1

Views: 881

Answers (1)

dynsim
dynsim

Reputation: 43

It seems that the Microsoft Authentication Library does not currently support WinUI 3. See this feature request for tracking its development.

Update:

Upgrading to WinAppSDK 1.0 or newer fixes this issue, as described here.

Upvotes: 3

Related Questions