diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 96e74d5af3..8b24294910 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,7 +13,7 @@ variables: buildName: '$(Build.SourceBranchName).$(readarrVersion)' sentryOrg: 'servarr' sentryUrl: 'https://sentry.servarr.com' - dotnetVersion: '3.1.202' + dotnetVersion: '3.1.301' trigger: branches: diff --git a/src/NzbDrone.Api.Test/Readarr.Api.Test.csproj b/src/NzbDrone.Api.Test/Readarr.Api.Test.csproj index ff9373c3f7..174d16bb68 100644 --- a/src/NzbDrone.Api.Test/Readarr.Api.Test.csproj +++ b/src/NzbDrone.Api.Test/Readarr.Api.Test.csproj @@ -3,14 +3,19 @@ net462;netcoreapp3.1 - + - - - + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + - + diff --git a/src/NzbDrone.Automation.Test/Readarr.Automation.Test.csproj b/src/NzbDrone.Automation.Test/Readarr.Automation.Test.csproj index f68311fafd..333200ffbe 100644 --- a/src/NzbDrone.Automation.Test/Readarr.Automation.Test.csproj +++ b/src/NzbDrone.Automation.Test/Readarr.Automation.Test.csproj @@ -3,10 +3,15 @@ net462;netcoreapp3.1 - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + diff --git a/src/NzbDrone.Common.Test/Readarr.Common.Test.csproj b/src/NzbDrone.Common.Test/Readarr.Common.Test.csproj index afc712a386..ea0405ef66 100644 --- a/src/NzbDrone.Common.Test/Readarr.Common.Test.csproj +++ b/src/NzbDrone.Common.Test/Readarr.Common.Test.csproj @@ -3,13 +3,18 @@ net462;netcoreapp3.1 - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + - + diff --git a/src/NzbDrone.Common/Readarr.Common.csproj b/src/NzbDrone.Common/Readarr.Common.csproj index 8efb020078..af5cdbe38e 100644 --- a/src/NzbDrone.Common/Readarr.Common.csproj +++ b/src/NzbDrone.Common/Readarr.Common.csproj @@ -5,10 +5,10 @@ - - + + - + @@ -16,7 +16,7 @@ - + diff --git a/src/NzbDrone.Core.Test/Readarr.Core.Test.csproj b/src/NzbDrone.Core.Test/Readarr.Core.Test.csproj index 5182aa011d..fd98976231 100644 --- a/src/NzbDrone.Core.Test/Readarr.Core.Test.csproj +++ b/src/NzbDrone.Core.Test/Readarr.Core.Test.csproj @@ -3,17 +3,22 @@ net462;netcoreapp3.1 - + - - - - - - + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + - + diff --git a/src/NzbDrone.Core/Download/TorrentClientBase.cs b/src/NzbDrone.Core/Download/TorrentClientBase.cs index 54181bf00f..0009610479 100644 --- a/src/NzbDrone.Core/Download/TorrentClientBase.cs +++ b/src/NzbDrone.Core/Download/TorrentClientBase.cs @@ -206,7 +206,7 @@ private string DownloadFromMagnetUrl(RemoteBook remoteBook, string magnetUrl) try { - hash = InfoHash.FromMagnetLink(magnetUrl).ToHex(); + hash = MagnetLink.Parse(magnetUrl).InfoHash.ToHex(); } catch (FormatException ex) { diff --git a/src/NzbDrone.Core/Indexers/TorrentRssParser.cs b/src/NzbDrone.Core/Indexers/TorrentRssParser.cs index 35c4466a15..5efe5fd645 100644 --- a/src/NzbDrone.Core/Indexers/TorrentRssParser.cs +++ b/src/NzbDrone.Core/Indexers/TorrentRssParser.cs @@ -52,7 +52,7 @@ protected virtual string GetInfoHash(XElement item) { try { - return InfoHash.FromMagnetLink(magnetUrl).ToHex(); + return MagnetLink.Parse(magnetUrl).InfoHash.ToHex(); } catch { diff --git a/src/NzbDrone.Core/MediaCover/ImageResizer.cs b/src/NzbDrone.Core/MediaCover/ImageResizer.cs index 4e43013631..60dde4633f 100644 --- a/src/NzbDrone.Core/MediaCover/ImageResizer.cs +++ b/src/NzbDrone.Core/MediaCover/ImageResizer.cs @@ -2,8 +2,8 @@ using NzbDrone.Common.EnvironmentInfo; using SixLabors.ImageSharp; using SixLabors.ImageSharp.Formats.Jpeg; +using SixLabors.ImageSharp.Memory; using SixLabors.ImageSharp.Processing; -using SixLabors.Memory; namespace NzbDrone.Core.MediaCover { diff --git a/src/NzbDrone.Core/Readarr.Core.csproj b/src/NzbDrone.Core/Readarr.Core.csproj index d8fbccb371..36802952de 100644 --- a/src/NzbDrone.Core/Readarr.Core.csproj +++ b/src/NzbDrone.Core/Readarr.Core.csproj @@ -3,25 +3,25 @@ net462;netcoreapp3.1 - - - - - - + + + + + + - + - - - + + + - + - - + + @@ -31,7 +31,7 @@ - + diff --git a/src/NzbDrone.Host.Test/Readarr.Host.Test.csproj b/src/NzbDrone.Host.Test/Readarr.Host.Test.csproj index ac25eb4f45..a37f07a173 100644 --- a/src/NzbDrone.Host.Test/Readarr.Host.Test.csproj +++ b/src/NzbDrone.Host.Test/Readarr.Host.Test.csproj @@ -3,13 +3,18 @@ net462;netcoreapp3.1 - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + - + diff --git a/src/NzbDrone.Host/Readarr.Host.csproj b/src/NzbDrone.Host/Readarr.Host.csproj index 08e90b773e..71a8f0bb60 100644 --- a/src/NzbDrone.Host/Readarr.Host.csproj +++ b/src/NzbDrone.Host/Readarr.Host.csproj @@ -10,11 +10,11 @@ - - + + - + diff --git a/src/NzbDrone.Integration.Test/Readarr.Integration.Test.csproj b/src/NzbDrone.Integration.Test/Readarr.Integration.Test.csproj index 54fcc8acf3..812658dfcc 100644 --- a/src/NzbDrone.Integration.Test/Readarr.Integration.Test.csproj +++ b/src/NzbDrone.Integration.Test/Readarr.Integration.Test.csproj @@ -4,16 +4,21 @@ Library - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + - + - + diff --git a/src/NzbDrone.Libraries.Test/Readarr.Libraries.Test.csproj b/src/NzbDrone.Libraries.Test/Readarr.Libraries.Test.csproj index 901e1b4583..cd14dbbd94 100644 --- a/src/NzbDrone.Libraries.Test/Readarr.Libraries.Test.csproj +++ b/src/NzbDrone.Libraries.Test/Readarr.Libraries.Test.csproj @@ -3,13 +3,18 @@ net462;netcoreapp3.1 - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + - + diff --git a/src/NzbDrone.Mono.Test/Readarr.Mono.Test.csproj b/src/NzbDrone.Mono.Test/Readarr.Mono.Test.csproj index 5db39a8634..d96c5adc29 100644 --- a/src/NzbDrone.Mono.Test/Readarr.Mono.Test.csproj +++ b/src/NzbDrone.Mono.Test/Readarr.Mono.Test.csproj @@ -3,13 +3,18 @@ net462;netcoreapp3.1 - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + - + - + diff --git a/src/NzbDrone.Mono/Readarr.Mono.csproj b/src/NzbDrone.Mono/Readarr.Mono.csproj index 521434cd53..ada0279604 100644 --- a/src/NzbDrone.Mono/Readarr.Mono.csproj +++ b/src/NzbDrone.Mono/Readarr.Mono.csproj @@ -3,11 +3,11 @@ net462;netcoreapp3.1 - - + + - +