Skip to content

Commit

Permalink
Revert "upgraded to .NET Core 2.1 SDK"
Browse files Browse the repository at this point in the history
This reverts commit b000b76.
  • Loading branch information
Aaronontheweb committed Mar 12, 2019
1 parent 48a038d commit 1b1a836
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
14 changes: 8 additions & 6 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -482,12 +482,14 @@ Target "DocFx" (fun _ ->
)

FinalTarget "KillCreatedProcesses" (fun _ ->
log "Shutting down dotnet build-server"
let result = ExecProcess(fun info ->
info.FileName <- "dotnet"
info.WorkingDirectory <- __SOURCE_DIRECTORY__
info.Arguments <- "build-server shutdown") (System.TimeSpan.FromMinutes 2.0)
if result <> 0 then failwithf "dotnet build-server shutdown failed"
log "Killing processes started by FAKE:"
startedProcesses |> Seq.iter (fun (pid, _) -> logfn "%i" pid)
killAllCreatedProcesses()
log "Killing any remaining dotnet and xunit.console.exe processes:"
getProcessesByName "dotnet" |> Seq.iter (fun p -> logfn "pid: %i; name: %s" p.Id p.ProcessName)
killProcess "dotnet"
getProcessesByName "xunit.console" |> Seq.iter (fun p -> logfn "pid: %i; name: %s" p.Id p.ProcessName)
killProcess "xunit.console"
)

//--------------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ Param(
$FakeVersion = "4.63.0"
$NBenchVersion = "1.0.1"
$DotNetChannel = "LTS";
$DotNetVersion = "2.1.500";
$DotNetVersion = "2.0.0";
$DotNetInstallerUri = "https://raw.githubusercontent.com/dotnet/cli/v$DotNetVersion/scripts/obtain/dotnet-install.ps1";
$NugetVersion = "4.3.0";
$NugetUrl = "https://dist.nuget.org/win-x86-commandline/v$NugetVersion/nuget.exe"
$ProtobufVersion = "3.4.0"
$DocfxVersion = "2.40.5"
$DocfxVersion = "2.21.1"

# Make sure tools folder exists
$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ NUGET_URL=https://dist.nuget.org/win-x86-commandline/v4.3.0/nuget.exe
FAKE_VERSION=4.63.0
FAKE_EXE=$TOOLS_DIR/FAKE/tools/FAKE.exe
DOTNET_EXE=$SCRIPT_DIR/.dotnet/dotnet
DOTNET_VERSION=2.1.500
DOTNET_INSTALLER_URL=https://raw.githubusercontent.com/dotnet/cli/v$DOTNET_VERSION/scripts/obtain/dotnet-install.sh
DOTNET_VERSION=2.0.0
DOTNET_CHANNEL=LTS
DOTNET_INSTALLER_URL=https://raw.githubusercontent.com/dotnet/cli/v2.0.0/scripts/obtain/dotnet-install.sh
PROTOBUF_VERSION=3.4.0

# Define default arguments.
Expand Down

0 comments on commit 1b1a836

Please sign in to comment.