Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Portable Option for Xamarin? #141

Closed
jwood803 opened this issue Dec 5, 2015 · 29 comments
Closed

Portable Option for Xamarin? #141

jwood803 opened this issue Dec 5, 2015 · 29 comments
Milestone

Comments

@jwood803
Copy link

jwood803 commented Dec 5, 2015

I was just wondering if it was possible to make this compatible to load in a Xamarin project. I think this may open up quite a bit more potential for Freya. Or at least discuss it here. :]

Currently, if you try to bring in the NuGet through a Portable Class Library in a Xamarin project, you get this message that it is, Unable to resolve dependency 'Aether (= 8.0.0-rc2)'. When I try to bring in Aether it gives an error I expected for trying to load onto a PCL project:

Could not install package 'Aether 7.0.2'. You are trying to install this package into a project that targets 'portable-net45+win+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10', but the package does not contain any assembly references or content files that are compatible with that framework.

I also tried loading onto the Xamarin.iOS and Xamarin.Android projects separately and they also give errors from their respective project types.

Could not install package 'Aether 7.0.2'. You are trying to install this package into a project that targets 'Xamarin.iOS,Version=v1.0', but the package does not contain any assembly references or content files that are compatible with that framework.

and

Could not install package 'Aether 7.0.2'. 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.

I'll be more than happy to help if anything is needed for this!

@panesofglass
Copy link
Contributor

Step one is to generate PCL packages. That can be done through FAKE and Paket and should be fairly straight-forward. Would you like to attempt it? We would need to make these changes for:

  • Freya
  • Arachne
  • Aether
  • Chiron
  • Hekate

Step two is far more difficult. We would need to only use other dependencies that provide PCL's. Fortunately, I think our only external dependency is FParsec, and it turns out they do have a PCL build, though it does not include Android or iOS. You could reach out to them here to see whether or not they would be willing to target a different PCL. Unnecessary!

@panesofglass
Copy link
Contributor

@jwood803 I went ahead and filed the issue with FParsec: https://bitbucket.org/fparsec/main/issues/35/support-android-and-ios-pcl-targets

@jwood803
Copy link
Author

jwood803 commented Dec 5, 2015

Awesome! Thanks @panesofglass! I'll see if I can mess with step one from above this weekend.

@panesofglass
Copy link
Contributor

@jwood803 Freya and Arachne have virtually identical build scripts. Once you fix one, the other should be a cinch. I think you will need to add a loop around the builds to run for each target profile, then add the various profiles to the *.paket.template generator script. I'm not sure whether or not @kolektiv updated the Chiron and Hekate packages to use the same updates to Freya and Arachne or not. It's likely Chiron and Hekate are similar enough that you may be able to use/port the Freya and Arachne build script to those projects, which would also be appreciated.

@jwood803
Copy link
Author

jwood803 commented Dec 5, 2015

Would Aether need to be included as part of step one, as well?

@kolektiv
Copy link
Member

kolektiv commented Dec 5, 2015

I think you'd need to do Aether first, then Chiron and Hekate could be done
in parallel. They all use a simpler build script then Arachne and Freya,
hopefully a simple change - more than happy to try it! Would love to get
everything portable.

On 5 December 2015 at 18:17, Jon Wood notifications@github.com wrote:

Would Aether need to be included as part of step one, as well?


Reply to this email directly or view it on GitHub
#141 (comment).

@panesofglass
Copy link
Contributor

@jwood803 yes! I knew I was forgetting one of the libs! Thanks for adding it!

@kolektiv
Copy link
Member

kolektiv commented Dec 5, 2015

Aether (and Chiron and Hekate) are currently in RCs for new releases
anyway, I'd love to get portable support in if possible. I don't really
know anything about portable support though - is there a guide to doing
that with fake/paket anywhere?

On 5 December 2015 at 19:31, Ryan Riley notifications@github.com wrote:

@jwood803 https://github.com/jwood803 yes! I knew I was forgetting one
of the libs! Thanks for adding it!


Reply to this email directly or view it on GitHub
#141 (comment).

@panesofglass
Copy link
Contributor

@jwood803 you'll also need to change the paket.dependencies file to add the portable profiles you want. I think at present I've limited things to >= net45 so as to cut down on the noise.

@kolektiv iirc, fsharpx had something like this, but I don't know the state of those projects now nor whether they use paket.

@panesofglass
Copy link
Contributor

@jwood803 looks like Profile 259 should work. I just tried adding FParsec directly, and XS appeared to load them. I don't have an active license, so I can't build. Would you mind trying?

@jwood803
Copy link
Author

jwood803 commented Dec 8, 2015

I added FParsec (using this version as it seems to be the more widely used/downloaded) and it built without any issues in a PCL project in Xamarin.

@panesofglass
Copy link
Contributor

@jwood803 that means we only need to get the builds for step 1 generating PCL assemblies and add the desired PCL constraints to the respective paket.dependencies. Shouldn't be very hard, though probably a bit time consuming.

@panesofglass
Copy link
Contributor

Question: is it worth also backing up to .NET 4.0 Client profile, too? I don't recall whether we have any > .NET 4.0 requirements, though we might. I'm also not sure whether it's worth the effort at this point. PCL and .NET Core are likely more important.

@TWith2Sugars
Copy link

Is there any point if support will be ending soon: https://support.microsoft.com/en-us/gp/framework_faq?wa=wsignin1.0

@panesofglass
Copy link
Contributor

@TWith2Sugars no! Thank you for looking that up!

@jwood803
Copy link
Author

Yes, thank you @TWith2Sugars! @panesofglass I'll mess with your recommendations over the weekend or the holidays, whichever comes first :p

@jwood803
Copy link
Author

And I just happened to see this bit of awesomeness from @dsyme. I'm sure this will help out with the stuff here.

@kolektiv
Copy link
Member

Aha, indeed! So, Aether, Chiron, Hekate are now all portable (Profile259). The current pre-release of Arachne is the same. It's just Freya now which needs to take that step, but all dependencies are prepared!

At the moment the only block is working out the right approach to builds (x-platform builds for portable etc. don't seem to be possible, so working out what the right thing to do in terms of solution/project versioning etc. is currently on the slate). However, once we've got that nailed down (and there's some discussion starting using Arachne as the test case: https://github.com/freya-fs/arachne/issues/31) then there's no reason I can think of that Freya won't be too. Hopefully for the final 3.0.0!

I'm not sure what server people will run it on, but it should be available :)

@panesofglass
Copy link
Contributor

Are we close on this? Need to fix Travis builds, but I think this is just waiting on the release, right?

@jwood803
Copy link
Author

jwood803 commented Jan 1, 2016

Apologies, I haven't had much time lately, but I should have some during the weekend.

@kolektiv
Copy link
Member

kolektiv commented Jan 4, 2016

So I think we need to fix the Travis build for Arachne (our test bed) then push the 3.0 final of Arachne which will make all dependencies portable. At that point we can take whatever approach we've taken with Arachne with Freya (a lot of grunt work, but nothing too complex I think). At that point, I think we can go 3.0 with Freya...

@kolektiv
Copy link
Member

We need to make a decision on this (and Arachne). @panesofglass did you manage to find an approach for Travis?

@kolektiv kolektiv added this to the 3.0 milestone Jan 17, 2016
@panesofglass
Copy link
Contributor

@kolektiv no, I have not found a solution for getting Travis building. We need outside help on this from someone currently building PCL libraries using Travis. @forki, do you have any ideas as to who to ask for help?

@panesofglass
Copy link
Contributor

I also see numerous warnings and errors trying to build on my Mac, which differ when trying to build with either the homebrew installation or Xamarin installation. @7sharp9, any thoughts?

homebrew:

XBuild Engine Version 12.0
Mono, Version 4.2.1.0
Copyright (C) 2005-2013 Various Mono authors
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/usr/local/Cellar/mono/4.2.1.102_1/lib/mono/4.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (ToolsVersion: 4.0).
/usr/local/Cellar/mono/4.2.1.102_1/lib/mono/4.5/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5.2'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
/usr/local/Cellar/mono/4.2.1.102_1/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'mscorlib' not resolved
/Users/admin/Code/arachne/targets/Arachne.Core.Profile259/Arachne.Core.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/usr/local/Cellar/mono/4.2.1.102_1/lib/mono/4.5/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETPortable,Version=v4.5,Profile=Profile259'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
/usr/local/Cellar/mono/4.2.1.102_1/lib/mono/4.5/Microsoft.Common.targets: error : PCL Reference Assemblies not installed.
/Users/admin/Code/arachne/tests/Arachne.Core.Tests/Arachne.Core.Tests.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/usr/local/Cellar/mono/4.2.1.102_1/lib/mono/4.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (ToolsVersion: 4.0).
/usr/local/Cellar/mono/4.2.1.102_1/lib/mono/4.5/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5.2'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
/usr/local/Cellar/mono/4.2.1.102_1/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'mscorlib' not resolved
/Users/admin/Code/arachne/targets/Arachne.Core.Net40/Arachne.Core.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
Running build failed.
Error:
Building Arachne.sln failed with exitcode 1.

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target                Duration
------                --------
Source.Clean          00:00:00.0017005
Source.AssemblyInfo   00:00:00.0192200
Total:                00:00:07.9433652
Status:               Failure
---------------------------------------------------------------------
  1) Building Arachne.sln failed with exitcode 1.
  2) : /usr/local/Cellar/mono/4.2.1.102_1/lib/mono/4.5/Microsoft.Common.targets(0,0): PCL Reference Assemblies not installed.
---------------------------------------------------------------------

Xamarin:

XBuild Engine Version 12.0
Mono, Version 4.2.1.0
Copyright (C) 2005-2013 Various Mono authors
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (ToolsVersion: 4.0).
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5.2'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'mscorlib' not resolved
/Users/admin/Code/arachne/targets/Arachne.Core.Profile259/Arachne.Core.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/tests/Arachne.Core.Tests/Arachne.Core.Tests.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (ToolsVersion: 4.0).
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5.2'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'mscorlib' not resolved
/Users/admin/Code/arachne/targets/Arachne.Core.Net40/Arachne.Core.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Language/Arachne.Language.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (ToolsVersion: 4.0).
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5.2'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'mscorlib' not resolved
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Language.Profile259/Arachne.Language.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Profile259/Arachne.Core.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Profile259/Arachne.Core.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Uri/Arachne.Uri.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (ToolsVersion: 4.0).
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5.2'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'mscorlib' not resolved
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Uri.Profile259/Arachne.Uri.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Profile259/Arachne.Core.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Profile259/Arachne.Core.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Language.Net40/Arachne.Language.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Net40/Arachne.Core.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Net40/Arachne.Core.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Uri.Net40/Arachne.Uri.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Net40/Arachne.Core.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Net40/Arachne.Core.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Http/Arachne.Http.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (ToolsVersion: 4.0).
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5.2'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Language/Arachne.Language.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Uri/Arachne.Uri.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'mscorlib' not resolved
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Language/Arachne.Language.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Uri/Arachne.Uri.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Uri.Template/Arachne.Uri.Template.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (ToolsVersion: 4.0).
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5.2'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Uri/Arachne.Uri.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'mscorlib' not resolved
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Uri/Arachne.Uri.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/tests/Arachne.Language.Tests/Arachne.Language.Tests.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (ToolsVersion: 4.0).
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5.2'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Language/Arachne.Language.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/tests/Arachne.Core.Tests/Arachne.Core.Tests.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'mscorlib' not resolved
/Users/admin/Code/arachne/tests/Arachne.Language.Tests/Language.Tests.fs(8,5): error FS1108: The type 'Attribute' is required here and is unavailable. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
/Users/admin/Code/arachne/targets/Arachne.Uri.Template.Profile259/Arachne.Uri.Template.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Profile259/Arachne.Core.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Uri.Profile259/Arachne.Uri.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Profile259/Arachne.Core.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Uri.Profile259/Arachne.Uri.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Profile259/Arachne.Core.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Http.Profile259/Arachne.Http.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Profile259/Arachne.Core.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Language.Profile259/Arachne.Language.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Uri.Profile259/Arachne.Uri.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Profile259/Arachne.Core.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Language.Profile259/Arachne.Language.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Profile259/Arachne.Core.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Uri.Profile259/Arachne.Uri.Profile259.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/tests/Arachne.Uri.Tests/Arachne.Uri.Tests.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (ToolsVersion: 4.0).
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5.2'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
/Users/admin/Code/arachne/src/Arachne.Core/Arachne.Core.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/src/Arachne.Uri/Arachne.Uri.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/tests/Arachne.Core.Tests/Arachne.Core.Tests.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'mscorlib' not resolved
/Users/admin/Code/arachne/tests/Arachne.Uri.Tests/Uri.Tests.fs(171,5): error FS1108: The type 'Object' is required here and is unavailable. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
/Users/admin/Code/arachne/tests/Arachne.Uri.Tests/Uri.Tests.fs(178,5): error FS1108: The type 'Object' is required here and is unavailable. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
/Users/admin/Code/arachne/tests/Arachne.Uri.Tests/Uri.Tests.fs(185,5): error FS1108: The type 'Object' is required here and is unavailable. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
/Users/admin/Code/arachne/tests/Arachne.Uri.Tests/Uri.Tests.fs(192,5): error FS1108: The type 'Object' is required here and is unavailable. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
/Users/admin/Code/arachne/tests/Arachne.Uri.Tests/Uri.Tests.fs(199,5): error FS1108: The type 'Object' is required here and is unavailable. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
/Users/admin/Code/arachne/targets/Arachne.Http.Net40/Arachne.Http.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Net40/Arachne.Core.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Language.Net40/Arachne.Language.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Uri.Net40/Arachne.Uri.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Net40/Arachne.Core.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Language.Net40/Arachne.Language.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Net40/Arachne.Core.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Uri.Net40/Arachne.Uri.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Net40/Arachne.Core.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Uri.Template.Net40/Arachne.Uri.Template.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Net40/Arachne.Core.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Uri.Net40/Arachne.Uri.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Core.Net40/Arachne.Core.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
/Users/admin/Code/arachne/targets/Arachne.Uri.Net40/Arachne.Uri.Net40.fsproj:  warning : Project has unknown ToolsVersion '14.0'. Using the default tools version '4.0' instead.
Running build failed.
Error:
Building Arachne.sln failed with exitcode 1.

---------------------------------------------------------------------
Build Time Report
---------------------------------------------------------------------
Target                Duration
------                --------
Source.Clean          00:00:00.0013877
Source.AssemblyInfo   00:00:00.0103522
Total:                00:01:03.3747858
Status:               Failure
---------------------------------------------------------------------
  1) Building Arachne.sln failed with exitcode 1.
  2) FS1108: /Users/admin/Code/arachne/tests/Arachne.Language.Tests/Language.Tests.fs(8,5): The type 'Attribute' is required here and is unavailable. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
  3) FS1108: /Users/admin/Code/arachne/tests/Arachne.Uri.Tests/Uri.Tests.fs(171,5): The type 'Object' is required here and is unavailable. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
  4) FS1108: /Users/admin/Code/arachne/tests/Arachne.Uri.Tests/Uri.Tests.fs(178,5): The type 'Object' is required here and is unavailable. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
  5) FS1108: /Users/admin/Code/arachne/tests/Arachne.Uri.Tests/Uri.Tests.fs(185,5): The type 'Object' is required here and is unavailable. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
  6) FS1108: /Users/admin/Code/arachne/tests/Arachne.Uri.Tests/Uri.Tests.fs(192,5): The type 'Object' is required here and is unavailable. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
  7) FS1108: /Users/admin/Code/arachne/tests/Arachne.Uri.Tests/Uri.Tests.fs(199,5): The type 'Object' is required here and is unavailable. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
---------------------------------------------------------------------

@7sharp9
Copy link

7sharp9 commented Jan 18, 2016

What version of XS are you building with?

The current preview edition has full support for PCL including a drop down to change which PCL you are currently using.

@panesofglass
Copy link
Contributor

@7sharp9 I'm using 5.10.1 (build 6).

@jwood803
Copy link
Author

jwood803 commented May 9, 2016

Apologies I've been off on this lately. Are there still dependencies that are needed or just for me to quit being lazy and update the build? 😄

@kolektiv
Copy link
Member

It's nearly there, pretty much all dependencies (except Freya itself) are compatible now. Hoping to find the time to push things out with Freya in the next week or two, as it's not far away.

@panesofglass
Copy link
Contributor

Released netstandard2.0 packages.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants