From 2f06e21acdee20e2b87ddd5fe4cf0d5d9e82cf29 Mon Sep 17 00:00:00 2001 From: Don Syme Date: Thu, 3 Nov 2016 19:44:03 +0000 Subject: [PATCH] use proper TargetProfile setting (#1699) * use propoer TargetProfile setting * remove duplicate lines * use propoer TargetProfile setting * Update FSharp.Core.fsproj * Update FSharp.Core.fsproj --- src/FSharpSource.targets | 7 +++++-- src/fsharp/FSharp.Build/FSharp.Build.fsproj | 1 - .../FSharp.Compiler.Interactive.Settings.fsproj | 1 - src/fsharp/FSharp.Compiler/FSharp.Compiler.fsproj | 1 - src/fsharp/FSharp.Core/FSharp.Core.fsproj | 8 ++++---- src/fsharp/Fsc/Fsc.fsproj | 1 - src/fsharp/fsi/Fsi.fsproj | 1 - 7 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/FSharpSource.targets b/src/FSharpSource.targets index 55dc21777a9..6271ca7a8d7 100644 --- a/src/FSharpSource.targets +++ b/src/FSharpSource.targets @@ -185,6 +185,7 @@ $(DefineConstants);NETSTANDARD1_6 $(DefineConstants);NETCOREAPP1_0 $(OtherFlags) --simpleresolution + netcore v5.0 false @@ -278,8 +279,8 @@ $(DefineConstants);FX_NO_MISSINGMETHODEXCEPTION $(DefineConstants);FX_RESHAPED_REFLECTION $(DefineConstants);FX_NO_EXIT_CONTEXT_FLAGS - $(DefineConstants);FX_EVENTWAITHANDLE_NO_IDISPOSABLE - true + $(DefineConstants);FX_EVENTWAITHANDLE_NO_IDISPOSABLE + netcore Profile7 v4.5 @@ -317,6 +318,7 @@ $(DefineConstants);FX_NO_MISSINGMETHODEXCEPTION $(DefineConstants);FX_NO_CONCURRENT_DICTIONARY $(DefineConstants);FX_ATLEAST_LINQ + netcore Profile78 v4.5 @@ -354,6 +356,7 @@ $(DefineConstants);FX_NO_MISSINGMETHODEXCEPTION $(DefineConstants);FX_NO_CONCURRENT_DICTIONARY $(DefineConstants);FX_ATLEAST_LINQ + netcore Profile259 v4.5 diff --git a/src/fsharp/FSharp.Build/FSharp.Build.fsproj b/src/fsharp/FSharp.Build/FSharp.Build.fsproj index 4a7892308d3..24b8e54be7b 100644 --- a/src/fsharp/FSharp.Build/FSharp.Build.fsproj +++ b/src/fsharp/FSharp.Build/FSharp.Build.fsproj @@ -12,7 +12,6 @@ FSharp.Build true {702A7979-BCF9-4C41-853E-3ADFC9897890} - $(OtherFlags) --targetprofile:netcore true diff --git a/src/fsharp/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj b/src/fsharp/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj index b34a3d459a2..5f31ed07889 100644 --- a/src/fsharp/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj +++ b/src/fsharp/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj @@ -13,7 +13,6 @@ EXTENSIONTYPING;$(DefineConstants) FSharp.Compiler.Interactive.Settings 512 - $(OtherFlags) --targetprofile:netcore diff --git a/src/fsharp/FSharp.Compiler/FSharp.Compiler.fsproj b/src/fsharp/FSharp.Compiler/FSharp.Compiler.fsproj index 767e135a71d..85d61743395 100644 --- a/src/fsharp/FSharp.Compiler/FSharp.Compiler.fsproj +++ b/src/fsharp/FSharp.Compiler/FSharp.Compiler.fsproj @@ -20,7 +20,6 @@ true 0x06800000 $(OtherFlags) /warnon:1182 - $(OtherFlags) --targetprofile:netcore diff --git a/src/fsharp/FSharp.Core/FSharp.Core.fsproj b/src/fsharp/FSharp.Core/FSharp.Core.fsproj index 9029b6a4fb9..4953d5cfc59 100644 --- a/src/fsharp/FSharp.Core/FSharp.Core.fsproj +++ b/src/fsharp/FSharp.Core/FSharp.Core.fsproj @@ -19,10 +19,10 @@ $(OtherFlags) --warnon:1182 --compiling-fslib --maxerrors:20 --extraoptimizationloops:1 $(OtherFlags) --compiling-fslib-20:"$(SystemRoot)\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" $(OtherFlags) --compiling-fslib-40 - $(OtherFlags) --compiling-fslib-40 --targetprofile:netcore - $(OtherFlags) --compiling-fslib-40 --targetprofile:netcore - $(OtherFlags) --compiling-fslib-40 --compiling-fslib-nobigint --targetprofile:netcore - $(OtherFlags) --compiling-fslib-40 --compiling-fslib-nobigint --targetprofile:netcore + $(OtherFlags) --compiling-fslib-40 + $(OtherFlags) --compiling-fslib-40 + $(OtherFlags) --compiling-fslib-40 --compiling-fslib-nobigint + $(OtherFlags) --compiling-fslib-40 --compiling-fslib-nobigint diff --git a/src/fsharp/Fsc/Fsc.fsproj b/src/fsharp/Fsc/Fsc.fsproj index 9484806f859..cc70d114ec1 100644 --- a/src/fsharp/Fsc/Fsc.fsproj +++ b/src/fsharp/Fsc/Fsc.fsproj @@ -22,7 +22,6 @@ true v2.0 $(OtherFlags) --warnon:1182 - $(OtherFlags) --targetprofile:netcore diff --git a/src/fsharp/fsi/Fsi.fsproj b/src/fsharp/fsi/Fsi.fsproj index 147cc5eb398..80496f21412 100644 --- a/src/fsharp/fsi/Fsi.fsproj +++ b/src/fsharp/fsi/Fsi.fsproj @@ -24,7 +24,6 @@ $(OtherFlags) --warnon:1182 fsi.res v4.6 - $(OtherFlags) --targetprofile:netcore