From 92c711eb193d464e709daef1aacade981559d4fd Mon Sep 17 00:00:00 2001 From: Diego Heras Date: Sat, 7 Jan 2023 20:38:52 +0100 Subject: [PATCH] core: update net462 (#13873) --- azure-pipelines.yml | 6 +++--- .../Jackett.IntegrationTests.csproj | 2 +- src/Jackett.Server/Helper.cs | 4 ++-- src/Jackett.Server/Jackett.Server.csproj | 8 ++++---- src/Jackett.Server/Startup.cs | 6 +++--- src/Jackett.Test/Jackett.Test.csproj | 6 +++--- src/Jackett.Updater/Jackett.Updater.csproj | 6 +++--- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 12a344220..dcd552ec4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -95,7 +95,7 @@ stages: Mono: buildDescription: Mono imageName: ubuntu-22.04 - framework: net461 + framework: net462 runtime: linux-x64 archiveType: tar artifactName: Jackett.Binaries.Mono.tar.gz @@ -419,7 +419,7 @@ stages: Mono: buildDescription: Mono imageName: ubuntu-22.04 - framework: net461 + framework: net462 runtime: linux-x64 pool: vmImage: $(imageName) @@ -518,7 +518,7 @@ stages: buildDescription: Mono imageName: ubuntu-22.04 artifactName: Jackett.Binaries.Mono.tar.gz - framework: net461 + framework: net462 runtime: linux-x64 pool: vmImage: $(imageName) diff --git a/src/Jackett.IntegrationTests/Jackett.IntegrationTests.csproj b/src/Jackett.IntegrationTests/Jackett.IntegrationTests.csproj index 193eed0d9..a96b87eea 100644 --- a/src/Jackett.IntegrationTests/Jackett.IntegrationTests.csproj +++ b/src/Jackett.IntegrationTests/Jackett.IntegrationTests.csproj @@ -1,7 +1,7 @@ - net6.0;net461 + net6.0;net462 false false diff --git a/src/Jackett.Server/Helper.cs b/src/Jackett.Server/Helper.cs index 3fcdbd4fb..dfa0dd43d 100644 --- a/src/Jackett.Server/Helper.cs +++ b/src/Jackett.Server/Helper.cs @@ -3,7 +3,7 @@ using Jackett.Common.Models.Config; using Jackett.Common.Services.Interfaces; using Microsoft.AspNetCore.Hosting; using NLog; -#if !NET461 +#if !NET462 using Microsoft.Extensions.Hosting; #endif @@ -13,7 +13,7 @@ namespace Jackett.Server { public static IContainer ApplicationContainer { get; set; } -#if NET461 +#if NET462 public static IApplicationLifetime applicationLifetime; #else public static IHostApplicationLifetime applicationLifetime; diff --git a/src/Jackett.Server/Jackett.Server.csproj b/src/Jackett.Server/Jackett.Server.csproj index a5a4fb503..66f55bfdb 100644 --- a/src/Jackett.Server/Jackett.Server.csproj +++ b/src/Jackett.Server/Jackett.Server.csproj @@ -1,7 +1,7 @@ - net6.0;net461 + net6.0;net462 jackett.ico Exe @@ -20,7 +20,7 @@ - + jackett @@ -39,8 +39,8 @@ - - + + diff --git a/src/Jackett.Server/Startup.cs b/src/Jackett.Server/Startup.cs index 785ddc240..963f54fcc 100644 --- a/src/Jackett.Server/Startup.cs +++ b/src/Jackett.Server/Startup.cs @@ -22,7 +22,7 @@ using Microsoft.AspNetCore.Rewrite; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json.Serialization; -#if !NET461 +#if !NET462 using Microsoft.Extensions.Hosting; #endif @@ -56,7 +56,7 @@ namespace Jackett.Server options.Cookie.Name = "Jackett"; }); -#if NET461 +#if NET462 services.AddMvc( config => config.Filters.Add( new AuthorizeFilter( @@ -108,7 +108,7 @@ namespace Jackett.Server } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. -#if NET461 +#if NET462 public void Configure(IApplicationBuilder app, IHostingEnvironment env, IApplicationLifetime applicationLifetime) { applicationLifetime.ApplicationStarted.Register(OnStarted); diff --git a/src/Jackett.Test/Jackett.Test.csproj b/src/Jackett.Test/Jackett.Test.csproj index b3340d495..1eec025ca 100644 --- a/src/Jackett.Test/Jackett.Test.csproj +++ b/src/Jackett.Test/Jackett.Test.csproj @@ -1,7 +1,7 @@ - net6.0;net461 + net6.0;net462 false @@ -45,8 +45,8 @@ - - + + diff --git a/src/Jackett.Updater/Jackett.Updater.csproj b/src/Jackett.Updater/Jackett.Updater.csproj index 445c000c6..9868e451f 100644 --- a/src/Jackett.Updater/Jackett.Updater.csproj +++ b/src/Jackett.Updater/Jackett.Updater.csproj @@ -1,7 +1,7 @@ - net6.0;net461 + net6.0;net462 jackett.ico JackettUpdater Exe @@ -13,8 +13,8 @@ ISLINUXMUSL - - + +