From 41fa69f665c661041361a767a02f0b50e646df0b Mon Sep 17 00:00:00 2001 From: Steve Sanderson Date: Tue, 27 Feb 2018 18:52:35 +0000 Subject: [PATCH] Force CI to build with a specific version of .NET Core --- build/aspnetci-build.ps1 | 3 +++ global.json | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 build/aspnetci-build.ps1 create mode 100644 global.json diff --git a/build/aspnetci-build.ps1 b/build/aspnetci-build.ps1 new file mode 100644 index 0000000000..c8f7dd4c46 --- /dev/null +++ b/build/aspnetci-build.ps1 @@ -0,0 +1,3 @@ +Invoke-WebRequest -useb 'https://dot.net/v1/dotnet-install.ps1' -OutFile .\build\dotnet-install.ps1 +.\build\dotnet-install.ps1 -channel Current -version 2.1.3 -InstallDir dotnetsdk +dotnet pack Blazor.sln diff --git a/global.json b/global.json new file mode 100644 index 0000000000..424cd16062 --- /dev/null +++ b/global.json @@ -0,0 +1,5 @@ +{ + "sdk": { + "version": "2.1.3" + } +}