From 5372ff1997487e1dca21608cce8a2db294563979 Mon Sep 17 00:00:00 2001 From: Atif Aziz Date: Sun, 28 Feb 2021 23:18:25 +0100 Subject: [PATCH] Fix target runtime to 2.1 to align with SDK --- NCrontab.Tests/NCrontab.Tests.csproj | 8 ++++---- NCrontabConsole/NCrontabConsole.csproj | 4 +--- build.sh | 2 +- test.sh | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/NCrontab.Tests/NCrontab.Tests.csproj b/NCrontab.Tests/NCrontab.Tests.csproj index 4d5722b..2a20b39 100644 --- a/NCrontab.Tests/NCrontab.Tests.csproj +++ b/NCrontab.Tests/NCrontab.Tests.csproj @@ -1,7 +1,7 @@  - netcoreapp1.0;net451 + netcoreapp2.1;net451 portable true $(PackageTargetFallback);dotnet5.4;portable-net451+win8 @@ -13,9 +13,9 @@ - - - + + + diff --git a/NCrontabConsole/NCrontabConsole.csproj b/NCrontabConsole/NCrontabConsole.csproj index fb801f0..fa15f74 100644 --- a/NCrontabConsole/NCrontabConsole.csproj +++ b/NCrontabConsole/NCrontabConsole.csproj @@ -1,11 +1,9 @@  - netcoreapp1.0 + netcoreapp2.1 portable Exe - $(PackageTargetFallback);dnxcore50 - 1.0.4 false false false diff --git a/build.sh b/build.sh index 42026b3..a65773b 100755 --- a/build.sh +++ b/build.sh @@ -21,7 +21,7 @@ for p in NCrontab NCrontab.Signed; do { done for p in NCrontabConsole NCrontab.Tests; do { for c in Debug Release; do { - dotnet build --no-restore -c $c -f netcoreapp1.0 $p + dotnet build --no-restore -c $c -f netcoreapp2.1 $p } done } diff --git a/test.sh b/test.sh index 4a0f4aa..6eacafd 100755 --- a/test.sh +++ b/test.sh @@ -5,5 +5,5 @@ VERSION_SUFFIX= if [ ! -z "$1" ]; then VERSION_SUFFIX="--version-suffix $1"; fi ./build.sh for c in Debug Release; do - dotnet test --no-restore --no-build -f netcoreapp1.0 -c $c NCrontab.Tests + dotnet test --no-restore --no-build -f netcoreapp2.1 -c $c NCrontab.Tests done