Repository: lucenenet Updated Branches: refs/heads/master 6f8f672b2 -> 25e972fca
build/build.ps1: Fixed script to install .NET Core 2.0 SDK for .NET 4.5.1 test Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/5a920d28 Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/5a920d28 Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/5a920d28 Branch: refs/heads/master Commit: 5a920d28f568f371afef344439c0be3d948a8544 Parents: 6f8f672 Author: Shad Storhaug <[email protected]> Authored: Mon Sep 11 15:55:03 2017 +0700 Committer: Shad Storhaug <[email protected]> Committed: Mon Sep 11 15:55:03 2017 +0700 ---------------------------------------------------------------------- build/build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/5a920d28/build/build.ps1 ---------------------------------------------------------------------- diff --git a/build/build.ps1 b/build/build.ps1 index d1df038..b3d9568 100644 --- a/build/build.ps1 +++ b/build/build.ps1 @@ -83,8 +83,8 @@ task InstallSDK -description "This task makes sure the correct SDK version is in } } -task InstallSDK2IfRequired -description "This task installs the .NET Core 2.x SDK (required for testing under .NET Core 2.0)" { - if ($frameworks_to_test.Contains("netcoreapp2.")) { +task InstallSDK2IfRequired -description "This task installs the .NET Core 2.x SDK (required for testing under .NET Core 2.0 or .NET Framework)" { + if ($frameworks_to_test.Contains("netcoreapp2.") -or $frameworks_to_test.Contains("net45")) { Invoke-Task InstallSDK } }
