Please update Xamarin.Android.Support.* dependencies to 28.0.0.3 on MSAL and sample
See original GitHub issueWhich 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:
- Created 4 years ago
- Reactions:1
- Comments:9 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
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?