Closed MovGP0 closed 7 years ago
File paket.dependencies
:
source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json
source https://dotnet.myget.org/F/cli-deps/api/v3/index.json
source https://api.nuget.org/v3/index.json
nuget DryIoc.dll 2.10.4
nuget FluentAssertions 4.19.2 framework: >= net45
nuget Fody 1.29.4 framework: portable45-net45+win8+wp8+wpa81
nuget Microsoft.Azure.Mobile 0.7.0
nuget Microsoft.Azure.Mobile.Analytics 0.7.0
nuget Microsoft.Azure.Mobile.Crashes 0.7.0
nuget Microsoft.CSharp 4.3.0
nuget Microsoft.NETCore.Platforms 1.1.0
nuget Microsoft.Win32.Primitives 4.3.0 framework: >= xamarinios
nuget Microsoft.Xaml 4.0.0.1 framework: portable45-net45+win8+wpa81
nuget MoreLinq.Portable 1.4.0 framework: portable45-net45+win8+wp8+wpa81
nuget NETStandard.Library 1.6.1
nuget NSubstitute 2.0.2 framework: >= net45
nuget NullGuard.Fody 1.4.6 framework: portable45-net45+win8+wp8+wpa81
nuget PCLStorage 1.0.2
nuget Serilog 2.4.0
nuget Serilog.Sinks.Xamarin 0.1.25
nuget SkiaSharp 1.57.0
nuget SkiaSharp.Svg 1.55.1-beta1
nuget SkiaSharp.Views 1.57.0
nuget SkiaSharp.Views.Forms 1.57.0
nuget System.AppContext 4.3.0 framework: >= xamarinios
nuget System.Collections 4.3.0
nuget System.Collections.Concurrent 4.3.0
nuget System.Collections.NonGeneric 4.3.0
nuget System.ComponentModel 4.3.0
nuget System.Console 4.3.0 framework: >= xamarinios
nuget System.Diagnostics.Contracts 4.3.0
nuget System.Diagnostics.Debug 4.3.0
nuget System.Diagnostics.Tools 4.3.0
nuget System.Diagnostics.Tracing 4.3.0
nuget System.Dynamic.Runtime 4.3.0
nuget System.Globalization 4.3.0
nuget System.Globalization.Calendars 4.3.0 framework: >= xamarinios
nuget System.IO 4.3.0
nuget System.IO.Compression 4.3.0
nuget System.IO.Compression.ZipFile 4.3.0 framework: >= xamarinios
nuget System.IO.FileSystem 4.3.0 framework: >= xamarinios
nuget System.IO.FileSystem.Primitives 4.3.0 framework: >= xamarinios
nuget System.Linq 4.3.0
nuget System.Linq.Expressions 4.3.0
nuget System.Net.Http 4.3.1
nuget System.Net.Primitives 4.3.0
nuget System.Net.Sockets 4.3.0 framework: >= xamarinios
nuget System.ObjectModel 4.3.0
nuget System.Reactive 3.1.1 framework: portable45-net45+win8+wp8+wpa81
nuget System.Reactive.Core 3.1.1
nuget System.Reactive.Interfaces 3.1.1
nuget System.Reactive.Linq 3.1.1 framework: portable45-net45+win8+wp8+wpa81
nuget System.Reactive.PlatformServices 3.1.1 framework: portable45-net45+win8+wp8+wpa81
nuget System.Reflection 4.3.0
nuget System.Reflection.Extensions 4.3.0
nuget System.Reflection.Primitives 4.3.0
nuget System.Resources.ResourceManager 4.3.0
nuget System.Runtime 4.3.0
nuget System.Runtime.Extensions 4.3.0
nuget System.Runtime.Handles 4.3.0 framework: >= xamarinios
nuget System.Runtime.InteropServices 4.3.0
nuget System.Runtime.InteropServices.RuntimeInformation 4.3.0
nuget System.Runtime.InteropServices.WindowsRuntime 4.3.0
nuget System.Runtime.Numerics 4.3.0
nuget System.Security.Cryptography.Algorithms 4.3.0 framework: >= xamarinios
nuget System.Security.Cryptography.Encoding 4.3.0 framework: >= xamarinios
nuget System.Security.Cryptography.Primitives 4.3.0 framework: >= xamarinios
nuget System.Security.Cryptography.X509Certificates 4.3.0 framework: >= xamarinios
nuget System.Text.Encoding 4.3.0
nuget System.Text.Encoding.Extensions 4.3.0
nuget System.Text.RegularExpressions 4.3.0
nuget System.Threading 4.3.0
nuget System.Threading.Tasks 4.3.0
nuget System.Threading.Timer 4.3.0 framework: >= xamarinios
nuget System.Xml.ReaderWriter 4.3.0
nuget System.Xml.XDocument 4.3.0
nuget WindowsBase 4.6.1055.0 framework: portable45-net45+win8+wpa81
nuget Xamarin.Android.Support.Animated.Vector.Drawable 23.3.0 framework: >= monoandroid
nuget Xamarin.Android.Support.Design 23.3.0 framework: >= monoandroid
nuget Xamarin.Android.Support.v4 23.3.0 framework: >= monoandroid
nuget Xamarin.Android.Support.v7.AppCompat 23.3.0 framework: >= monoandroid
nuget Xamarin.Android.Support.v7.CardView 23.3.0 framework: >= monoandroid
nuget Xamarin.Android.Support.v7.MediaRouter 23.3.0 framework: >= monoandroid
nuget Xamarin.Android.Support.v7.RecyclerView 23.3.0 framework: >= monoandroid
nuget Xamarin.Android.Support.Vector.Drawable 23.3.0 framework: >= monoandroid
nuget Xamarin.Forms 2.3.4.231
nuget xunit 2.2.0
nuget xunit.abstractions 2.0.1
nuget xunit.assert 2.2.0
nuget xunit.core 2.2.0
nuget xunit.extensibility.core 2.2.0
nuget xunit.extensibility.execution 2.2.0
by removing the monoandroid
lines, the packages get restored and result in the error message
Paket failed with:
Unknown .NET moniker >= xamarinios
Seems like a mono bug as https://github.com/fsprojects/Paket/blob/master/src/Paket.Core/FrameworkHandling.fs#L335 contains monoandroid
Will take a look later, can you run with -v
(verbose)?
after removing both, the lines containing monoandroid
and the lines with xamarinios
, everything worked fine. haven't tried using the --verbose
option.
@forki I cannot figure out what optimizeRestrictions
is supposed to do (https://github.com/fsprojects/Paket/blob/master/src/Paket.Core/Requirements.fs#L156) but apparently currently it has problems with the atleast operator.
@MovGP0 apparently paket has problems with the atleast (>=
) operator. What exactly did you thought paket would do? Using all Platforms supported by monoandroid (which would be quite similar to >= net45
)?
(I thought this would be related to my latest patch, but it isn't)
fixed in latest paket 5 alpha
Description
trying do migrate an Xamarin/Android project to paket fails with the following message:
Repro steps
Expected behavior
--force
parameterActual behavior
Known workarounds