Migrate all projects and tests to .NET 11.0
Upgraded the target framework for all main, test, and provider projects from .NET 10.0 (net10.0) to .NET 11.0 (net11.0). Updated all major NuGet dependencies to their .NET 11-compatible versions, including Microsoft.AspNetCore.*, Microsoft.EntityFrameworkCore.*, Microsoft.Extensions.*, Serilog, System.Text.Json, and Npgsql.EntityFrameworkCore.PostgreSQL (now 11.0.0-preview.1). Regenerated all project.assets.json, NuGet cache, and MSBuild files to reflect the new framework and package versions. Removed or updated incompatible dependencies and references. Set allWarningsAsErrors: true in NuGet spec files for stricter builds. No application logic changes were made; all updates are related to project configuration, dependency management, and build system modernization for .NET 11.0.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
|
||||
<PropertyGroup>
|
||||
@@ -23,7 +23,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<TargetFramework>net11.0</TargetFramework>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||
|
||||
@@ -24,15 +24,15 @@
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net10.0"
|
||||
"net11.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"projectReferences": {
|
||||
"E:\\Projects\\pgsql-jellyfin\\src\\Jellyfin.CodeAnalysis\\Jellyfin.CodeAnalysis.csproj": {
|
||||
"projectPath": "E:\\Projects\\pgsql-jellyfin\\src\\Jellyfin.CodeAnalysis\\Jellyfin.CodeAnalysis.csproj"
|
||||
@@ -44,6 +44,7 @@
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"allWarningsAsErrors": true,
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
],
|
||||
@@ -60,8 +61,8 @@
|
||||
"SdkAnalysisLevel": "10.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"dependencies": {
|
||||
"IDisposableAnalyzers": {
|
||||
"include": "Runtime, Build, Native, ContentFiles, Analyzers",
|
||||
@@ -158,7 +159,7 @@
|
||||
"Morestachio": "5.0.1.631",
|
||||
"NEbml": "1.1.0.5",
|
||||
"Newtonsoft.Json": "13.0.4",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "9.0.2",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "11.0.0-preview.1",
|
||||
"PlaylistsNET": "1.4.1",
|
||||
"Polly": "8.6.5",
|
||||
"prometheus-net": "8.2.1",
|
||||
@@ -506,15 +507,15 @@
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net10.0"
|
||||
"net11.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"projectReferences": {
|
||||
"E:\\Projects\\pgsql-jellyfin\\MediaBrowser.Model\\MediaBrowser.Model.csproj": {
|
||||
"projectPath": "E:\\Projects\\pgsql-jellyfin\\MediaBrowser.Model\\MediaBrowser.Model.csproj"
|
||||
@@ -526,6 +527,7 @@
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"allWarningsAsErrors": true,
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
],
|
||||
@@ -542,8 +544,8 @@
|
||||
"SdkAnalysisLevel": "10.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"dependencies": {
|
||||
"IDisposableAnalyzers": {
|
||||
"include": "Runtime, Build, Native, ContentFiles, Analyzers",
|
||||
@@ -635,7 +637,7 @@
|
||||
"Morestachio": "5.0.1.631",
|
||||
"NEbml": "1.1.0.5",
|
||||
"Newtonsoft.Json": "13.0.4",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "9.0.2",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "11.0.0-preview.1",
|
||||
"PlaylistsNET": "1.4.1",
|
||||
"Polly": "8.6.5",
|
||||
"prometheus-net": "8.2.1",
|
||||
@@ -1126,15 +1128,15 @@
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net10.0"
|
||||
"net11.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"projectReferences": {
|
||||
"E:\\Projects\\pgsql-jellyfin\\Jellyfin.Data\\Jellyfin.Data.csproj": {
|
||||
"projectPath": "E:\\Projects\\pgsql-jellyfin\\Jellyfin.Data\\Jellyfin.Data.csproj"
|
||||
@@ -1149,6 +1151,7 @@
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"allWarningsAsErrors": true,
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
],
|
||||
@@ -1165,8 +1168,8 @@
|
||||
"SdkAnalysisLevel": "10.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"dependencies": {
|
||||
"IDisposableAnalyzers": {
|
||||
"include": "Runtime, Build, Native, ContentFiles, Analyzers",
|
||||
@@ -1265,7 +1268,7 @@
|
||||
"Morestachio": "5.0.1.631",
|
||||
"NEbml": "1.1.0.5",
|
||||
"Newtonsoft.Json": "13.0.4",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "9.0.2",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "11.0.0-preview.1",
|
||||
"PlaylistsNET": "1.4.1",
|
||||
"Polly": "8.6.5",
|
||||
"prometheus-net": "8.2.1",
|
||||
@@ -1769,6 +1772,7 @@
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"allWarningsAsErrors": true,
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
],
|
||||
@@ -1868,44 +1872,44 @@
|
||||
"libse": "4.0.12",
|
||||
"LrcParser": "2025.623.0",
|
||||
"MetaBrainz.MusicBrainz": "8.0.1",
|
||||
"Microsoft.AspNetCore.Authorization": "10.0.3",
|
||||
"Microsoft.AspNetCore.Mvc.Testing": "10.0.3",
|
||||
"Microsoft.AspNetCore.Authorization": "11.0.1",
|
||||
"Microsoft.AspNetCore.Mvc.Testing": "11.0.1",
|
||||
"Microsoft.CodeAnalysis.Analyzers": "3.11.0",
|
||||
"Microsoft.CodeAnalysis.BannedApiAnalyzers": "4.14.0",
|
||||
"Microsoft.CodeAnalysis.Common": "5.0.0",
|
||||
"Microsoft.CodeAnalysis.CSharp": "5.0.0",
|
||||
"Microsoft.Data.Sqlite": "10.0.3",
|
||||
"Microsoft.EntityFrameworkCore": "10.0.3",
|
||||
"Microsoft.EntityFrameworkCore.Design": "10.0.3",
|
||||
"Microsoft.EntityFrameworkCore.Relational": "10.0.3",
|
||||
"Microsoft.EntityFrameworkCore.Sqlite": "10.0.3",
|
||||
"Microsoft.EntityFrameworkCore.Tools": "10.0.3",
|
||||
"Microsoft.Extensions.Caching.Abstractions": "10.0.3",
|
||||
"Microsoft.Extensions.Caching.Memory": "10.0.3",
|
||||
"Microsoft.Extensions.Configuration.Abstractions": "10.0.3",
|
||||
"Microsoft.Extensions.Configuration.Binder": "10.0.3",
|
||||
"Microsoft.Extensions.DependencyInjection": "10.0.3",
|
||||
"Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore": "10.0.3",
|
||||
"Microsoft.Extensions.Hosting.Abstractions": "10.0.3",
|
||||
"Microsoft.Extensions.Http": "10.0.3",
|
||||
"Microsoft.Extensions.Logging": "10.0.3",
|
||||
"Microsoft.Extensions.Options": "10.0.3",
|
||||
"Microsoft.Data.Sqlite": "11.0.1",
|
||||
"Microsoft.EntityFrameworkCore": "11.0.1",
|
||||
"Microsoft.EntityFrameworkCore.Design": "11.0.1",
|
||||
"Microsoft.EntityFrameworkCore.Relational": "11.0.1",
|
||||
"Microsoft.EntityFrameworkCore.Sqlite": "11.0.1",
|
||||
"Microsoft.EntityFrameworkCore.Tools": "11.0.1",
|
||||
"Microsoft.Extensions.Caching.Abstractions": "11.0.1",
|
||||
"Microsoft.Extensions.Caching.Memory": "11.0.1",
|
||||
"Microsoft.Extensions.Configuration.Abstractions": "11.0.1",
|
||||
"Microsoft.Extensions.Configuration.Binder": "11.0.1",
|
||||
"Microsoft.Extensions.DependencyInjection": "11.0.1",
|
||||
"Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore": "11.0.1",
|
||||
"Microsoft.Extensions.Hosting.Abstractions": "11.0.1",
|
||||
"Microsoft.Extensions.Http": "11.0.1",
|
||||
"Microsoft.Extensions.Logging": "11.0.1",
|
||||
"Microsoft.Extensions.Options": "11.0.1",
|
||||
"Microsoft.NET.Test.Sdk": "18.0.1",
|
||||
"MimeTypes": "2.5.2",
|
||||
"Moq": "4.18.4",
|
||||
"Morestachio": "5.0.1.631",
|
||||
"NEbml": "1.1.0.5",
|
||||
"Newtonsoft.Json": "13.0.4",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "9.0.2",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "11.0.0-preview.1",
|
||||
"PlaylistsNET": "1.4.1",
|
||||
"Polly": "8.6.5",
|
||||
"prometheus-net": "8.2.1",
|
||||
"prometheus-net.AspNetCore": "8.2.1",
|
||||
"prometheus-net.DotNetRuntime": "4.4.1",
|
||||
"Serilog.AspNetCore": "10.0.0",
|
||||
"Serilog.AspNetCore": "11.0.1",
|
||||
"Serilog.Enrichers.Thread": "4.0.0",
|
||||
"Serilog.Expressions": "5.0.0",
|
||||
"Serilog.Settings.Configuration": "10.0.0",
|
||||
"Serilog.Settings.Configuration": "11.0.1",
|
||||
"Serilog.Sinks.Async": "2.1.0",
|
||||
"Serilog.Sinks.Console": "6.1.1",
|
||||
"Serilog.Sinks.File": "7.0.0",
|
||||
@@ -1920,7 +1924,7 @@
|
||||
"Svg.Skia": "3.4.1",
|
||||
"Swashbuckle.AspNetCore": "7.3.2",
|
||||
"Swashbuckle.AspNetCore.ReDoc": "6.9.0",
|
||||
"System.Text.Json": "10.0.3",
|
||||
"System.Text.Json": "11.0.1",
|
||||
"TagLibSharp": "2.3.0",
|
||||
"TMDbLib": "2.3.0",
|
||||
"UTF.Unknown": "2.6.0",
|
||||
@@ -1965,15 +1969,15 @@
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net10.0"
|
||||
"net11.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"projectReferences": {
|
||||
"E:\\Projects\\pgsql-jellyfin\\src\\Jellyfin.CodeAnalysis\\Jellyfin.CodeAnalysis.csproj": {
|
||||
"projectPath": "E:\\Projects\\pgsql-jellyfin\\src\\Jellyfin.CodeAnalysis\\Jellyfin.CodeAnalysis.csproj"
|
||||
@@ -1982,6 +1986,7 @@
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"allWarningsAsErrors": true,
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
],
|
||||
@@ -1998,8 +2003,8 @@
|
||||
"SdkAnalysisLevel": "10.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"dependencies": {
|
||||
"IDisposableAnalyzers": {
|
||||
"include": "Runtime, Build, Native, ContentFiles, Analyzers",
|
||||
@@ -2110,7 +2115,7 @@
|
||||
"Morestachio": "5.0.1.631",
|
||||
"NEbml": "1.1.0.5",
|
||||
"Newtonsoft.Json": "13.0.4",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "9.0.2",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "11.0.0-preview.1",
|
||||
"PlaylistsNET": "1.4.1",
|
||||
"Polly": "8.6.5",
|
||||
"prometheus-net": "8.2.1",
|
||||
@@ -2458,15 +2463,15 @@
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net10.0"
|
||||
"net11.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"projectReferences": {
|
||||
"E:\\Projects\\pgsql-jellyfin\\src\\Jellyfin.CodeAnalysis\\Jellyfin.CodeAnalysis.csproj": {
|
||||
"projectPath": "E:\\Projects\\pgsql-jellyfin\\src\\Jellyfin.CodeAnalysis\\Jellyfin.CodeAnalysis.csproj"
|
||||
@@ -2475,6 +2480,7 @@
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"allWarningsAsErrors": true,
|
||||
"noWarn": [
|
||||
"NU5104"
|
||||
],
|
||||
@@ -2494,8 +2500,8 @@
|
||||
"SdkAnalysisLevel": "10.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"dependencies": {
|
||||
"Diacritics": {
|
||||
"target": "Package",
|
||||
@@ -2597,7 +2603,7 @@
|
||||
"Morestachio": "5.0.1.631",
|
||||
"NEbml": "1.1.0.5",
|
||||
"Newtonsoft.Json": "13.0.4",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "9.0.2",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "11.0.0-preview.1",
|
||||
"PlaylistsNET": "1.4.1",
|
||||
"Polly": "8.6.5",
|
||||
"prometheus-net": "8.2.1",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net10.0": {
|
||||
"net11.0": {
|
||||
"Diacritics/4.1.4": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
@@ -307,7 +307,7 @@
|
||||
},
|
||||
"Jellyfin.Data/10.12.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v10.0",
|
||||
"framework": ".NETCoreApp,Version=v11.0",
|
||||
"dependencies": {
|
||||
"Jellyfin.CodeAnalysis": "1.0.0",
|
||||
"Jellyfin.Database.Implementations": "10.11.0",
|
||||
@@ -322,7 +322,7 @@
|
||||
},
|
||||
"Jellyfin.Database.Implementations/10.11.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v10.0",
|
||||
"framework": ".NETCoreApp,Version=v11.0",
|
||||
"dependencies": {
|
||||
"Jellyfin.CodeAnalysis": "1.0.0",
|
||||
"Microsoft.EntityFrameworkCore.Relational": "10.0.3",
|
||||
@@ -337,7 +337,7 @@
|
||||
},
|
||||
"Jellyfin.Extensions/10.12.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v10.0",
|
||||
"framework": ".NETCoreApp,Version=v11.0",
|
||||
"dependencies": {
|
||||
"Diacritics": "4.1.4",
|
||||
"ICU4N.Transliterator": "60.1.0-alpha.356",
|
||||
@@ -353,7 +353,7 @@
|
||||
},
|
||||
"Jellyfin.Model/10.12.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v10.0",
|
||||
"framework": ".NETCoreApp,Version=v11.0",
|
||||
"dependencies": {
|
||||
"Jellyfin.CodeAnalysis": "1.0.0",
|
||||
"Jellyfin.Data": "10.12.0",
|
||||
@@ -930,7 +930,7 @@
|
||||
}
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
"net10.0": [
|
||||
"net11.0": [
|
||||
"IDisposableAnalyzers >= 4.0.8",
|
||||
"Jellyfin.CodeAnalysis >= 1.0.0",
|
||||
"Jellyfin.Model >= 10.12.0",
|
||||
@@ -965,15 +965,15 @@
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net10.0"
|
||||
"net11.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"projectReferences": {
|
||||
"E:\\Projects\\pgsql-jellyfin\\MediaBrowser.Model\\MediaBrowser.Model.csproj": {
|
||||
"projectPath": "E:\\Projects\\pgsql-jellyfin\\MediaBrowser.Model\\MediaBrowser.Model.csproj"
|
||||
@@ -985,6 +985,7 @@
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"allWarningsAsErrors": true,
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
],
|
||||
@@ -1001,8 +1002,8 @@
|
||||
"SdkAnalysisLevel": "10.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"dependencies": {
|
||||
"IDisposableAnalyzers": {
|
||||
"include": "Runtime, Build, Native, ContentFiles, Analyzers",
|
||||
@@ -1094,7 +1095,7 @@
|
||||
"Morestachio": "5.0.1.631",
|
||||
"NEbml": "1.1.0.5",
|
||||
"Newtonsoft.Json": "13.0.4",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "9.0.2",
|
||||
"Npgsql.EntityFrameworkCore.PostgreSQL": "11.0.0-preview.1",
|
||||
"PlaylistsNET": "1.4.1",
|
||||
"Polly": "8.6.5",
|
||||
"prometheus-net": "8.2.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "ApjCW6tnli4=",
|
||||
"dgSpecHash": "uEbl0SH3uqs=",
|
||||
"success": true,
|
||||
"projectFilePath": "E:\\Projects\\pgsql-jellyfin\\MediaBrowser.Common\\MediaBrowser.Common.csproj",
|
||||
"expectedPackageFiles": [
|
||||
|
||||
Reference in New Issue
Block a user