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
-1
@@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Jellyfin.MediaEncoding.Keyframes.Tests")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+ae274053a886dcab4aa102adffb10460398730df")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+fd03e1f5645707581999115e9e2724708a49a331")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Jellyfin.MediaEncoding.Keyframes.Tests")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Jellyfin.MediaEncoding.Keyframes.Tests")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
b4f1ab296b5b923d358bf8ee70b3ad4e4a56feeefef91170ec2b0c523a0161db
|
||||
eb9247a2689cdd4d42cb4b2e43e48bb8a0ec5dd9d2dc0c03cc1254c43e1e100d
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+29
-29
@@ -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",
|
||||
@@ -861,7 +861,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
-1
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">False</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
|
||||
@@ -409,19 +409,6 @@
|
||||
"build/net8.0/Microsoft.TestPlatform.TestHost.targets": {}
|
||||
}
|
||||
},
|
||||
"NEbml/1.1.0.5": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"lib/netstandard2.0/NEbml.Core.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/NEbml.Core.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Newtonsoft.Json/13.0.3": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
@@ -570,12 +557,7 @@
|
||||
},
|
||||
"Jellyfin.MediaEncoding.Keyframes/10.11.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v10.0",
|
||||
"dependencies": {
|
||||
"Jellyfin.CodeAnalysis": "1.0.0",
|
||||
"Jellyfin.Sdk": "2025.10.21",
|
||||
"NEbml": "1.1.0.5"
|
||||
},
|
||||
"framework": "Unsupported,Version=v0.0",
|
||||
"compile": {
|
||||
"bin/placeholder/Jellyfin.MediaEncoding.Keyframes.dll": {}
|
||||
},
|
||||
@@ -1158,22 +1140,6 @@
|
||||
"microsoft.testplatform.testhost.nuspec"
|
||||
]
|
||||
},
|
||||
"NEbml/1.1.0.5": {
|
||||
"sha512": "svtqDc+hue9kbnqNN2KkK4om/hDrc7K127cNb5FIYfgKgzo+JNDPXNLp8NioCchHhBO3lxWd4Cp/iiZZ3aoUqg==",
|
||||
"type": "package",
|
||||
"path": "nebml/1.1.0.5",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"README.md",
|
||||
"lib/net461/NEbml.Core.dll",
|
||||
"lib/net461/NEbml.Core.xml",
|
||||
"lib/netstandard2.0/NEbml.Core.dll",
|
||||
"lib/netstandard2.0/NEbml.Core.xml",
|
||||
"nebml.1.1.0.5.nupkg.sha512",
|
||||
"nebml.nuspec"
|
||||
]
|
||||
},
|
||||
"Newtonsoft.Json/13.0.3": {
|
||||
"sha512": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
|
||||
"type": "package",
|
||||
@@ -1628,7 +1594,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",
|
||||
@@ -1955,5 +1921,16 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"logs": [
|
||||
{
|
||||
"code": "NU1201",
|
||||
"level": "Error",
|
||||
"message": "Project Jellyfin.MediaEncoding.Keyframes is not compatible with net10.0 (.NETCoreApp,Version=v10.0). Project Jellyfin.MediaEncoding.Keyframes supports: net11.0 (.NETCoreApp,Version=v11.0)",
|
||||
"libraryId": "Jellyfin.MediaEncoding.Keyframes",
|
||||
"targetGraphs": [
|
||||
"net10.0"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "RdggwSKlXAU=",
|
||||
"success": true,
|
||||
"dgSpecHash": "ugsz8gZNIBs=",
|
||||
"success": false,
|
||||
"projectFilePath": "E:\\Projects\\pgsql-jellyfin\\tests\\Jellyfin.MediaEncoding.Keyframes.Tests\\Jellyfin.MediaEncoding.Keyframes.Tests.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\wjones\\.nuget\\packages\\coverlet.collector\\8.0.0\\coverlet.collector.8.0.0.nupkg.sha512",
|
||||
@@ -17,7 +17,6 @@
|
||||
"C:\\Users\\wjones\\.nuget\\packages\\microsoft.net.test.sdk\\18.0.1\\microsoft.net.test.sdk.18.0.1.nupkg.sha512",
|
||||
"C:\\Users\\wjones\\.nuget\\packages\\microsoft.testplatform.objectmodel\\18.0.1\\microsoft.testplatform.objectmodel.18.0.1.nupkg.sha512",
|
||||
"C:\\Users\\wjones\\.nuget\\packages\\microsoft.testplatform.testhost\\18.0.1\\microsoft.testplatform.testhost.18.0.1.nupkg.sha512",
|
||||
"C:\\Users\\wjones\\.nuget\\packages\\nebml\\1.1.0.5\\nebml.1.1.0.5.nupkg.sha512",
|
||||
"C:\\Users\\wjones\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512",
|
||||
"C:\\Users\\wjones\\.nuget\\packages\\seriloganalyzer\\0.15.0\\seriloganalyzer.0.15.0.nupkg.sha512",
|
||||
"C:\\Users\\wjones\\.nuget\\packages\\smartanalyzers.multithreadinganalyzer\\1.1.31\\smartanalyzers.multithreadinganalyzer.1.1.31.nupkg.sha512",
|
||||
@@ -33,5 +32,17 @@
|
||||
"C:\\Users\\wjones\\.nuget\\packages\\xunit.extensibility.execution\\2.9.3\\xunit.extensibility.execution.2.9.3.nupkg.sha512",
|
||||
"C:\\Users\\wjones\\.nuget\\packages\\xunit.runner.visualstudio\\2.8.2\\xunit.runner.visualstudio.2.8.2.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
"logs": [
|
||||
{
|
||||
"code": "NU1201",
|
||||
"level": "Error",
|
||||
"message": "Project Jellyfin.MediaEncoding.Keyframes is not compatible with net10.0 (.NETCoreApp,Version=v10.0). Project Jellyfin.MediaEncoding.Keyframes supports: net11.0 (.NETCoreApp,Version=v11.0)",
|
||||
"projectPath": "E:\\Projects\\pgsql-jellyfin\\tests\\Jellyfin.MediaEncoding.Keyframes.Tests\\Jellyfin.MediaEncoding.Keyframes.Tests.csproj",
|
||||
"filePath": "E:\\Projects\\pgsql-jellyfin\\tests\\Jellyfin.MediaEncoding.Keyframes.Tests\\Jellyfin.MediaEncoding.Keyframes.Tests.csproj",
|
||||
"libraryId": "Jellyfin.MediaEncoding.Keyframes",
|
||||
"targetGraphs": [
|
||||
"net10.0"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user