Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fcs/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Target "BuildVersion" (fun _ ->

Target "Build" (fun _ ->
runDotnet __SOURCE_DIRECTORY__ "build ../src/buildtools/buildtools.proj -v n -c Proto"
runDotnet __SOURCE_DIRECTORY__ "build FSharp.Compiler.Service.sln -v n -c release"
runDotnet __SOURCE_DIRECTORY__ (sprintf "build FSharp.Compiler.Service.sln -v n -c release -p:VersionPrefix=%s" assemblyVersion)
)

Target "Test" (fun _ ->
Expand All @@ -102,7 +102,7 @@ Target "Test" (fun _ ->
)

Target "NuGet" (fun _ ->
runDotnet __SOURCE_DIRECTORY__ "pack FSharp.Compiler.Service.sln -v n -c release"
runDotnet __SOURCE_DIRECTORY__ (sprintf "pack FSharp.Compiler.Service.sln -v n -c release -p:VersionPrefix=%s" assemblyVersion)
)

Target "GenerateDocsEn" (fun _ ->
Expand Down
7 changes: 3 additions & 4 deletions fcs/fcs.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. -->
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>

<VersionPrefix>27.0.1</VersionPrefix>
<OtherFlags>--version:$(VersionPrefix)</OtherFlags>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<GenerateAssemblyVersionAttribute>true</GenerateAssemblyVersionAttribute>
<!-- FSharp.Compiler.Tools is currently only used to get a working FSI.EXE to execute some scripts during the build -->
<!-- The LKG FSI.EXE requires MSBuild 15 to be installed, which is painful -->
<ToolsetFsiToolPath>$(FSharpSourcesRoot)\..\packages\FSharp.Compiler.Tools.4.1.27\tools</ToolsetFsiToolPath>
<ToolsetFsiToolExe>fsi.exe</ToolsetFsiToolExe>
<!-- Disable AssemblyInformationalVersion errors for prerelease nuget version values -->
<NoWarn>2003;$(NoWarn)</NoWarn>
</PropertyGroup>
</Project>