question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please update Xamarin.Android.Support.* dependencies to 28.0.0.3 on MSAL and sample

See original GitHub issue

Which Version of MSAL are you using ?

Microsoft.Identity.Client 4.8.1-preview1

Platform

Xamarin.Forms (android app)

Repro

Build for android a xamarin.forms app that uses both xamarin.essentials and microsoft.identity.client (most recent versions). This results in a nuget version conflict caused by obsolete versions in microsoft.identity.client dependencies:

NU1107: Version conflict detected for Xamarin.Android.Support.Collections. Install/reference Xamarin.Android.Support.Collections 28.0.0.3 directly to project MyApp.Android to resolve this issue. 
 MyApp.Android -> MyApp.Core -> Xamarin.Essentials 1.4.0-pre2 -> Xamarin.Android.Support.CustomTabs 28.0.0.3 -> Xamarin.Android.Support.Collections (= 28.0.0.3) 
 MyApp.Android -> MyApp.Core -> Microsoft.Identity.Client 4.8.1-preview1 -> Xamarin.Android.Support.v7.AppCompat 28.0.0.1 -> Xamarin.Android.Support.Collections (= 28.0.0.1).

Possible Solution

Update xamarin.android.support.* dependencies to 28.0.0.3.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
tranb3rcommented, Feb 24, 2020

Now that androidx has been officially released, could you please skip this task and migrate directly to androidx ? https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/1653

1reaction
jmprieurcommented, Jan 29, 2020

I’m not oppposed @bgavrilMS can we update the Xamarin sample at the same time (if needed) to undersstand what the customer pain will be?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix Xamarin/NuGet error NU1107?
To resolve this issue, please install the dependency Xamarin.Android.Support.CustomTabs with version 27.0.2 first, then install the package ...
Read more >
Xamarin Android Support Collection errors after updating ...
Just today I updated my NuGet packages in a project. That also updated Xamarin.Forms to version 5.0. After the update the build complained ......
Read more >
Xamarin.Essentials: Troubleshooting
The problem is mismatched dependencies for the two NuGets. This can be resolved by manually adding a specific version of the dependency (in...
Read more >
Xamarin.Android.Support.v17.Leanback 28.0.0.3
Xamarin.Android bindings for Android Support Library - leanback-v17. ... README; Frameworks; Dependencies; Used By; Versions. Xamarin.
Read more >
Xamarin.Android.Support.v7.AppCompat 28.0.0.3
Xamarin.Android bindings for Android Support Library - appcompat-v7. ... README; Frameworks; Dependencies; Used By; Versions. Xamarin.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found