From 760bf35e1341ec898b2fefbe4581196a5dea1862 Mon Sep 17 00:00:00 2001 From: Jonathan Pryor Date: Thu, 10 Aug 2017 14:35:05 -0400 Subject: [PATCH] [build] Don't install FSharp.Core assemblies Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=58689 Context: https://developer.xamarin.com/releases/android/xamarin.android_7/xamarin.android_7.4/#FSharpCore We [removed `FSharp.Core.dll` from the commercial product][1] because it's presence was actively breaking things (due to still-not-understood changes around Visual Studio and MSBuild): [1]: https://developer.xamarin.com/releases/android/xamarin.android_7/xamarin.android_7.4/#FSharpCore > the `FSharp.Core.dll` distributed with Xamarin.Android is now being > used in preference to the NuGet package, through no changes on the > Xamarin.Android side of things. This means that the NuGet package > cannot be used Remove the `FSharp.Core` assemblies from the OSS side of things. Developers wishing to use F# and the `FSharp.Core` assemblies should use the [`FSharp.Core` NuGet package][2]. [2]: https://www.nuget.org/packages/FSharp.Core/ --- .../mono-runtimes/mono-runtimes.targets | 20 ------------------- .../packages.config | 1 - 2 files changed, 21 deletions(-) diff --git a/build-tools/mono-runtimes/mono-runtimes.targets b/build-tools/mono-runtimes/mono-runtimes.targets index e4ec04997fc..0e3e633ae6b 100644 --- a/build-tools/mono-runtimes/mono-runtimes.targets +++ b/build-tools/mono-runtimes/mono-runtimes.targets @@ -21,14 +21,6 @@ /> - - - - - - - <_FSharpInstalledItems Include="@(FSharpItem->'$(_BclFrameworkDir)%(Identity)')" /> - <_MonoDocCopyItems Include="@(MonoDocCopyItem->'$(_MonoOutputDir)\%(Identity)')" /> @@ -447,11 +439,7 @@ <_PackageConfigFiles Include="$(_SourceTopDir)\src\Xamarin.Android.Build.Tasks\packages.config" /> - - - - <_FSharp Include="$(_SourceTopDir)\$(_FSharpCorePackagePath)\lib\portable-net45+monoandroid10+monotouch10+xamarinios10\FSharp.Core*" /> <_Facades Include="$(_MonoProfileDir)\Facades\*.dll" /> - - @@ -577,7 +558,6 @@ - diff --git a/src/Xamarin.Android.Build.Tasks/packages.config b/src/Xamarin.Android.Build.Tasks/packages.config index e6efea590ea..c42d7841aae 100644 --- a/src/Xamarin.Android.Build.Tasks/packages.config +++ b/src/Xamarin.Android.Build.Tasks/packages.config @@ -3,5 +3,4 @@ - \ No newline at end of file