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,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<TargetFramework>net11.0</TargetFramework>
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Jellyfin Contributors")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("10.11.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("10.11.0+ae274053a886dcab4aa102adffb10460398730df")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("10.11.0+fd03e1f5645707581999115e9e2724708a49a331")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Jellyfin.MediaEncoding.Keyframes")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Jellyfin.MediaEncoding.Keyframes")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("10.11.0.0")]
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
44fbdb9d12fb1cd547c1dc392e87246ce1dd0517ed136c7e09f83be412aee51e
|
||||
ed943b7dc393997c6f28aa0465e5a34cece9c925d4fc60dbc3cb6076df152a72
|
||||
|
||||
BIN
Binary file not shown.
+28
-28
@@ -137,44 +137,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",
|
||||
@@ -189,7 +189,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",
|
||||
@@ -234,15 +234,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"
|
||||
@@ -268,8 +268,8 @@
|
||||
"SdkAnalysisLevel": "10.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"dependencies": {
|
||||
"IDisposableAnalyzers": {
|
||||
"include": "Runtime, Build, Native, ContentFiles, Analyzers",
|
||||
@@ -366,7 +366,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": {
|
||||
"IDisposableAnalyzers/4.0.8": {
|
||||
"type": "package"
|
||||
},
|
||||
@@ -526,7 +526,7 @@
|
||||
}
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
"net10.0": [
|
||||
"net11.0": [
|
||||
"IDisposableAnalyzers >= 4.0.8",
|
||||
"Jellyfin.CodeAnalysis >= 1.0.0",
|
||||
"Jellyfin.Sdk >= 2025.10.21",
|
||||
@@ -561,15 +561,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"
|
||||
@@ -595,8 +595,8 @@
|
||||
"SdkAnalysisLevel": "10.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net10.0": {
|
||||
"targetAlias": "net10.0",
|
||||
"net11.0": {
|
||||
"targetAlias": "net11.0",
|
||||
"dependencies": {
|
||||
"IDisposableAnalyzers": {
|
||||
"include": "Runtime, Build, Native, ContentFiles, Analyzers",
|
||||
@@ -693,7 +693,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": "uCZyVMv1EdY=",
|
||||
"dgSpecHash": "FMshUtAJJIM=",
|
||||
"success": true,
|
||||
"projectFilePath": "E:\\Projects\\pgsql-jellyfin\\src\\Jellyfin.MediaEncoding.Keyframes\\Jellyfin.MediaEncoding.Keyframes.csproj",
|
||||
"expectedPackageFiles": [
|
||||
|
||||
Reference in New Issue
Block a user