OneDrive / onedrive-sdk-dotnet-msa-auth-adapter

Other
26 stars 22 forks source link

Error parsing xaml IotFriendlyWebDialog #54

Open Robbert-Driven-It opened 7 years ago

Robbert-Driven-It commented 7 years ago

I'm trying to use the MsaAuthenticationProvider in UWP application on Windows iot(raspberry pi 3) and when it hits the constructor of IotFriendlyWebDialog it raises an exception "Error parsing xaml" When I run it on a desktop it works fine, but I guess that's because it's not using the IotFriendlyWebDialog Any thoughts?

Robbert-Driven-It commented 7 years ago

I copied the xaml and made a local ContentDialog, hooked it up with a quick derived implementation of MsaAuthenticationProvider, and everything works fine. Switching back to the original code I keep getting a xaml parsing error on the InitializeComponents... I'm a little lost.. could it be related to the dependency on UniversalWindowsPlatform 5.1.0? my app is on 5.3.3 already

daboxu commented 7 years ago

@pingzing any ideas?

Robbert-Driven-It commented 7 years ago

I made a local build with UniversalWindowsPlatform updated to version 5.3.3 and the problem went away.