From 3467f7409e0044b8c32006dcb70ebe43a8be0219 Mon Sep 17 00:00:00 2001 From: Kevin Ransom Date: Fri, 11 Jan 2019 14:22:46 -0800 Subject: [PATCH] Build a compiler dll with out a prerelease tag --- build-nuget-packages.proj | 1 + build.cmd | 3 +-- fsharp.proj | 8 +++++++- src/fsharp/FSharp.Compiler.nuget/Directory.Build.props | 2 -- src/fsharp/FSharp.Compiler.nuget/Directory.Build.targets | 5 +++++ .../Microsoft.FSharp.Compiler.Prerelease.csproj | 8 ++++++++ .../Microsoft.FSharp.Compiler.csproj | 1 + .../FSharp.Compiler.nuget/Testing.FSharp.Compiler.csproj | 1 + 8 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 src/fsharp/FSharp.Compiler.nuget/Microsoft.FSharp.Compiler.Prerelease.csproj diff --git a/build-nuget-packages.proj b/build-nuget-packages.proj index 37a64ed6535..8b279bd8a19 100644 --- a/build-nuget-packages.proj +++ b/build-nuget-packages.proj @@ -3,6 +3,7 @@ + diff --git a/build.cmd b/build.cmd index 34a78774041..a29dd5de7a3 100644 --- a/build.cmd +++ b/build.cmd @@ -162,7 +162,6 @@ if /i "%ARG%" == "net40" ( if /i "%ARG%" == "coreclr" ( set _autoselect=0 - set BUILD_PROTO_WITH_CORECLR_LKG=1 set BUILD_CORECLR=1 set BUILD_FROMSOURCE=1 ) @@ -237,7 +236,7 @@ if /i "%ARG%" == "nuget" ( set BUILD_PROTO=1 set BUILD_NET40_FSHARP_CORE=1 - set BUILD_PROTO_WITH_CORECLR_LKG=1 + set BUILD_NET40=1 set BUILD_CORECLR=1 set BUILD_NUGET=1 ) diff --git a/fsharp.proj b/fsharp.proj index 59436e5a2e7..92b37d547ee 100644 --- a/fsharp.proj +++ b/fsharp.proj @@ -11,6 +11,7 @@ false false false + false false false @@ -25,6 +26,7 @@ true true true + true true true @@ -98,8 +100,12 @@ - + + + + + diff --git a/src/fsharp/FSharp.Compiler.nuget/Directory.Build.props b/src/fsharp/FSharp.Compiler.nuget/Directory.Build.props index 68113d9e9ca..8093275dba0 100644 --- a/src/fsharp/FSharp.Compiler.nuget/Directory.Build.props +++ b/src/fsharp/FSharp.Compiler.nuget/Directory.Build.props @@ -6,8 +6,6 @@ netcoreapp2.1 Microsoft.FSharp.Compiler.nuspec - -rtm-$(NuGetPackageVersionSuffix) - $(FSPackageVersion)$(PreReleaseSuffix) diff --git a/src/fsharp/FSharp.Compiler.nuget/Directory.Build.targets b/src/fsharp/FSharp.Compiler.nuget/Directory.Build.targets index 7d885b518db..2721c93a906 100644 --- a/src/fsharp/FSharp.Compiler.nuget/Directory.Build.targets +++ b/src/fsharp/FSharp.Compiler.nuget/Directory.Build.targets @@ -1,5 +1,10 @@ + + -rtm-$(NuGetPackageVersionSuffix) + $(FSPackageVersion)$(PreReleaseSuffix) + + diff --git a/src/fsharp/FSharp.Compiler.nuget/Microsoft.FSharp.Compiler.Prerelease.csproj b/src/fsharp/FSharp.Compiler.nuget/Microsoft.FSharp.Compiler.Prerelease.csproj new file mode 100644 index 00000000000..692e5aba1b2 --- /dev/null +++ b/src/fsharp/FSharp.Compiler.nuget/Microsoft.FSharp.Compiler.Prerelease.csproj @@ -0,0 +1,8 @@ + + + + Microsoft.FSharp.Compiler + true + + + diff --git a/src/fsharp/FSharp.Compiler.nuget/Microsoft.FSharp.Compiler.csproj b/src/fsharp/FSharp.Compiler.nuget/Microsoft.FSharp.Compiler.csproj index eef53d7dc4e..abb19e418fe 100644 --- a/src/fsharp/FSharp.Compiler.nuget/Microsoft.FSharp.Compiler.csproj +++ b/src/fsharp/FSharp.Compiler.nuget/Microsoft.FSharp.Compiler.csproj @@ -2,6 +2,7 @@ Microsoft.FSharp.Compiler + false diff --git a/src/fsharp/FSharp.Compiler.nuget/Testing.FSharp.Compiler.csproj b/src/fsharp/FSharp.Compiler.nuget/Testing.FSharp.Compiler.csproj index 44a831fed38..aaee9c73942 100644 --- a/src/fsharp/FSharp.Compiler.nuget/Testing.FSharp.Compiler.csproj +++ b/src/fsharp/FSharp.Compiler.nuget/Testing.FSharp.Compiler.csproj @@ -2,6 +2,7 @@ Testing.FSharp.Compiler + true