mathnet / mathnet-symbolics

Math.NET Symbolics
http://symbolics.mathdotnet.com
MIT License
349 stars 66 forks source link

MonoAndroid Nuget support #33

Open frabert opened 7 years ago

frabert commented 7 years ago

If I try to install the library using Nuget in a Xamarin project I get the following error:

Attempting to gather dependency information for package 'MathNet.Symbolics.0.15.0' with respect to project 'SciCalc', targeting 'MonoAndroid,Version=v6.0'
Gathering dependency information took 16,96 sec
Attempting to resolve dependencies for package 'MathNet.Symbolics.0.15.0' with DependencyBehavior 'Highest'
Resolving dependency information took 0 ms
Resolving actions to install package 'MathNet.Symbolics.0.15.0'
Resolved actions to install package 'MathNet.Symbolics.0.15.0'
Found package 'MathNet.Symbolics 0.15.0' in 'C:\Users\berto\documents\visual studio 2017\Projects\SciCalc\packages'.
Install failed. Rolling back...
Package 'MathNet.Symbolics.0.15.0 : FParsec [1.0.1, ), FSharp.Core [3.1.2.5, ), MathNet.Numerics [3.8.0, ), MathNet.Numerics.FSharp [3.8.0, )' does not exist in project 'SciCalc'
Executing nuget actions took 17,8 ms
Could not install package 'MathNet.Symbolics 0.15.0'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Time Elapsed: 00:00:16.9977911
========== Finished ==========

Now, I tried using the precompiled versions directly and they work fine, so I guess it's just a matter of correctly configuring the nuspec files.