From d4f873e46fd3ebe339fb8e87b95a15854b1dffff Mon Sep 17 00:00:00 2001
From: junglebus <22320807+junglebus@users.noreply.github.com>
Date: Wed, 8 Jan 2020 18:51:00 +1100
Subject: [PATCH] Update to .NET Core 3.1 (#6857)
Minor update from .NET Core 3.0. .NET Core 3.1 is the LTS version
---
README.md | 10 +++++-----
appveyor.yml | 1 +
build.cake | 2 +-
src/Jackett.Common/Jackett.Common.csproj | 14 +++++++-------
src/Jackett.Server/Jackett.Server.csproj | 18 +++++++++---------
src/Jackett.Test/Jackett.Test.csproj | 8 ++++----
src/Jackett.Tray/Jackett.Tray.csproj | 2 +-
src/Jackett.Updater/Jackett.Updater.csproj | 2 +-
8 files changed, 29 insertions(+), 28 deletions(-)
diff --git a/README.md b/README.md
index 4a9f7fae3..2423aa522 100644
--- a/README.md
+++ b/README.md
@@ -655,21 +655,21 @@ git clone https://github.com/Jackett/Jackett.git
cd Jackett/src
# dotnet core version
-dotnet publish Jackett.Server -f netcoreapp3.0 --self-contained -r osx-x64 -c Debug # takes care of everything
-./Jackett.Server/bin/Debug/netcoreapp3.0/osx-x64/jackett # run jackett
+dotnet publish Jackett.Server -f netcoreapp3.1 --self-contained -r osx-x64 -c Debug # takes care of everything
+./Jackett.Server/bin/Debug/netcoreapp3.1/osx-x64/jackett # run jackett
```
### Linux
```bash
-sudo apt install mono-complete nuget msbuild dotnet-sdk-3.0 # install build tools (debian/ubuntu)
+sudo apt install mono-complete nuget msbuild dotnet-sdk-3.1 # install build tools (debian/ubuntu)
git clone https://github.com/Jackett/Jackett.git
cd Jackett/src
# dotnet core version
-dotnet publish Jackett.Server -f netcoreapp3.0 --self-contained -r linux-x64 -c Debug # takes care of everything
-./Jackett.Server/bin/Debug/netcoreapp3.0/linux-x64/jackett # run jackett
+dotnet publish Jackett.Server -f netcoreapp3.1 --self-contained -r linux-x64 -c Debug # takes care of everything
+./Jackett.Server/bin/Debug/netcoreapp3.1/linux-x64/jackett # run jackett
```
## Screenshots
diff --git a/appveyor.yml b/appveyor.yml
index b06ac0abe..acd775146 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -5,6 +5,7 @@ image:
- Visual Studio 2019
environment:
APPVEYOR_YML_DISABLE_PS_LINUX: true
+ CAKE_SETTINGS_SKIPPACKAGEVERSIONCHECK: true
configuration: Release
assembly_info:
patch: true
diff --git a/build.cake b/build.cake
index 936cdc08f..cdc465272 100644
--- a/build.cake
+++ b/build.cake
@@ -16,7 +16,7 @@ var configuration = Argument("configuration", "Debug");
var workingDir = MakeAbsolute(Directory("./"));
string artifactsDirName = "Artifacts";
string testResultsDirName = "TestResults";
-string netCoreFramework = "netcoreapp3.0";
+string netCoreFramework = "netcoreapp3.1";
string serverProjectPath = "./src/Jackett.Server/Jackett.Server.csproj";
string updaterProjectPath = "./src/Jackett.Updater/Jackett.Updater.csproj";
diff --git a/src/Jackett.Common/Jackett.Common.csproj b/src/Jackett.Common/Jackett.Common.csproj
index 82376d354..dc48e548b 100644
--- a/src/Jackett.Common/Jackett.Common.csproj
+++ b/src/Jackett.Common/Jackett.Common.csproj
@@ -12,18 +12,18 @@
-
+
-
-
-
-
+
+
+
+
-
-
+
+
diff --git a/src/Jackett.Server/Jackett.Server.csproj b/src/Jackett.Server/Jackett.Server.csproj
index aaadb1026..ae0523b2d 100644
--- a/src/Jackett.Server/Jackett.Server.csproj
+++ b/src/Jackett.Server/Jackett.Server.csproj
@@ -1,7 +1,7 @@
- netcoreapp3.0;net461
+ netcoreapp3.1;net461
jackett.ico
JackettConsole
Exe
@@ -13,10 +13,10 @@
jackett
-
-
+
+
-
+
@@ -35,12 +35,12 @@
-
-
-
+
+
+
-
-
+
+
diff --git a/src/Jackett.Test/Jackett.Test.csproj b/src/Jackett.Test/Jackett.Test.csproj
index 1c409aa23..6fc802250 100644
--- a/src/Jackett.Test/Jackett.Test.csproj
+++ b/src/Jackett.Test/Jackett.Test.csproj
@@ -22,14 +22,14 @@
-
-
-
+
+
+
-
+
diff --git a/src/Jackett.Tray/Jackett.Tray.csproj b/src/Jackett.Tray/Jackett.Tray.csproj
index daec5b515..058bbdbb1 100644
--- a/src/Jackett.Tray/Jackett.Tray.csproj
+++ b/src/Jackett.Tray/Jackett.Tray.csproj
@@ -110,7 +110,7 @@
- 2.6.0
+ 2.7.82
diff --git a/src/Jackett.Updater/Jackett.Updater.csproj b/src/Jackett.Updater/Jackett.Updater.csproj
index 0ef49e06c..a77fbd8c9 100644
--- a/src/Jackett.Updater/Jackett.Updater.csproj
+++ b/src/Jackett.Updater/Jackett.Updater.csproj
@@ -1,7 +1,7 @@
- net461;netcoreapp3.0
+ net461;netcoreapp3.1
jackett.ico
JackettUpdater
Exe