Closed
Description
Description
Xamarin.Forms >= 2.3.4 depends Xamarin.Android.Support.* packages >= 23.3, but for MonoAndroid1, it is pinned at exactly 23.3.
Paket always assumes it needs to be exactly 23.3
Repro steps
This paket.dependencies file will fail:
content: none
redirects: on
source https://www.nuget.org/api/v2/
nuget Xamarin.Forms 2.3.4.231
nuget Xamarin.Android.Support.Design 25.4.0.2
Expected behavior
Same as NuGet, both packages must install, as they're compatible
Actual behavior
Paket version 5.96.1
Resolving packages for group Main:
- Xamarin.Android.Support.Design is pinned to 25.4.0.2
- Xamarin.Forms is pinned to 2.3.4.231
Performance:
- Resolver: 2 seconds (1 runs)
- Runtime: 317 milliseconds
- Blocked (retrieving package details): 317 milliseconds (2 times)
- Blocked (retrieving package versions): 1 second (2 times)
- Average Request Time: 448 milliseconds
- Number of Requests: 16
- Runtime: 3 seconds
Paket failed with
-> There was a version conflict during package resolution.
Resolved packages:
- Xamarin.Android.Support.Design 25.4.0.2
Conflict detected:
- Dependencies file requested package Xamarin.Android.Support.Design: 25.4.0.2
- Xamarin.Forms 2.3.4.231 requested package Xamarin.Android.Support.Design: 23.3
Please try to relax some conditions or resolve the conflict manually (see http://fsprojects.github.io/Paket/nuget-dependencies.html#Use-exactly-this-version-constraint).
Known workarounds
- Use NuGet
- Don't use Xam.Support > 23.3
Event specifying ==
doesn't work, with nuget Xamarin.Android.Support.v7.AppCompat == 25.4.0.2
:
Conflict detected: - Dependencies file requested package Xamarin.Android.Support.v7.AppCompat: == 25.4.0.2 - Xamarin.Android.Support.Design 25.4.0.2 requested package Xamarin.Android.Support.v7.AppCompat: 25.4.0.2 - Xamarin.Forms 2.3.4.231 requested package Xamarin.Android.Support.v7.AppCompat: 23.3
Metadata
Metadata
Assignees
Labels
No labels