Remove Jellyfin.CodeAnalysis and analyzers from test deps

Removed all references to the Jellyfin.CodeAnalysis project and related analyzer NuGet packages (IDisposableAnalyzers, SerilogAnalyzer, SmartAnalyzers.MultithreadingAnalyzer, StyleCop.Analyzers, Microsoft.CodeAnalysis.BannedApiAnalyzers) from test projects and their dependency graphs. Updated .dgspec.json, project.assets.json, and project.nuget.cache files accordingly. Also updated warningProperties to explicitly set warning behaviors. This streamlines the dependency tree and removes static analysis tooling from the test build process.
This commit is contained in:
2026-02-22 19:03:29 -05:00
parent ed8fe21055
commit 8d39eb77e6
164 changed files with 516 additions and 22019 deletions
@@ -2981,7 +2981,6 @@
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Controller": "10.12.0",
"Jellyfin.Model": "10.12.0",
"TagLibSharp": "2.3.0"
@@ -3003,7 +3002,6 @@
"Emby.Photos": "1.0.0",
"Ignore": "0.2.1",
"Jellyfin.Api": "1.0.0",
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Common": "10.12.0",
"Jellyfin.Controller": "10.12.0",
"Jellyfin.Database.Implementations": "10.11.0",
@@ -3035,14 +3033,12 @@
"dependencies": {
"CommandLineParser": "2.9.1",
"Emby.Server.Implementations": "1.0.0",
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Database.Implementations": "10.11.0",
"Jellyfin.Database.Providers.Postgres": "1.0.0",
"Jellyfin.Drawing": "1.0.0",
"Jellyfin.Drawing.Skia": "1.0.0",
"Jellyfin.LiveTv": "1.0.0",
"Jellyfin.MediaEncoding.Hls": "1.0.0",
"Jellyfin.Sdk": "2025.10.21",
"Jellyfin.Server.Implementations": "1.0.0",
"Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore": "11.0.0-preview.1.26104.118",
"Morestachio": "5.0.1.631",
@@ -3071,7 +3067,6 @@
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Controller": "10.12.0",
"Jellyfin.MediaEncoding.Hls": "1.0.0",
"Jellyfin.Networking": "1.0.0",
@@ -3106,9 +3101,7 @@
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Model": "10.12.0",
"Jellyfin.Sdk": "2025.10.21"
"Jellyfin.Model": "10.12.0"
},
"compile": {
"bin/placeholder/Jellyfin.Common.dll": {}
@@ -3125,7 +3118,6 @@
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"BitFaster.Caching": "2.5.4",
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Common": "10.12.0",
"Jellyfin.MediaEncoding.Keyframes": "10.11.0",
"Jellyfin.Model": "10.12.0",
@@ -3144,9 +3136,7 @@
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Database.Implementations": "10.11.0",
"Jellyfin.Sdk": "2025.10.21",
"Microsoft.Extensions.Logging": "11.0.0-preview.1.26104.118"
},
"compile": {
@@ -3160,7 +3150,6 @@
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Microsoft.EntityFrameworkCore.Relational": "11.0.0-preview.1.26104.118",
"Polly": "8.6.5"
},
@@ -3175,7 +3164,6 @@
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Common": "10.12.0",
"Jellyfin.Database.Implementations": "10.11.0",
"Microsoft.EntityFrameworkCore": "11.0.0-preview.1.26104.118",
@@ -3193,7 +3181,6 @@
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Common": "10.12.0",
"Jellyfin.Database.Implementations": "10.11.0",
"Microsoft.EntityFrameworkCore.Relational": "11.0.0-preview.1.26104.118",
@@ -3211,7 +3198,6 @@
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"AsyncKeyedLock": "8.0.2",
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Common": "10.12.0",
"Jellyfin.Controller": "10.12.0",
"Jellyfin.Model": "10.12.0",
@@ -3231,7 +3217,6 @@
"BlurHashSharp": "1.4.0-pre.1",
"BlurHashSharp.SkiaSharp": "1.4.0-pre.1",
"HarfBuzzSharp.NativeAssets.Linux": "8.3.1.1",
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Common": "10.12.0",
"Jellyfin.Controller": "10.12.0",
"Jellyfin.Model": "10.12.0",
@@ -3254,7 +3239,6 @@
"dependencies": {
"Diacritics": "4.1.4",
"ICU4N.Transliterator": "60.1.0-alpha.356",
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Sdk": "2025.10.21"
},
"compile": {
@@ -3269,7 +3253,6 @@
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"AsyncKeyedLock": "8.0.2",
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Common": "10.12.0",
"Jellyfin.Controller": "10.12.0",
"Jellyfin.Model": "10.12.0",
@@ -3320,7 +3303,6 @@
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Data": "10.12.0",
"Jellyfin.Extensions": "10.12.0",
"Jellyfin.Sdk": "2025.10.21"
@@ -3339,10 +3321,8 @@
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Common": "10.12.0",
"Jellyfin.Model": "10.12.0",
"Jellyfin.Sdk": "2025.10.21"
"Jellyfin.Model": "10.12.0"
},
"compile": {
"bin/placeholder/Jellyfin.Naming.dll": {}
@@ -3355,7 +3335,6 @@
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Common": "10.12.0",
"Jellyfin.Controller": "10.12.0"
},
@@ -3371,14 +3350,12 @@
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"AsyncKeyedLock": "8.0.2",
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Controller": "10.12.0",
"Jellyfin.Data": "10.12.0",
"Jellyfin.Database.Implementations": "10.11.0",
"Jellyfin.Database.Providers.Postgres": "1.0.0",
"Jellyfin.Database.Providers.Sqlite": "1.0.0",
"Jellyfin.Model": "10.12.0",
"Jellyfin.Sdk": "2025.10.21",
"Microsoft.EntityFrameworkCore.Relational": "11.0.0-preview.1.26104.118"
},
"compile": {
@@ -3392,10 +3369,8 @@
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Controller": "10.12.0",
"Jellyfin.Model": "10.12.0",
"Jellyfin.Sdk": "2025.10.21"
"Jellyfin.Model": "10.12.0"
},
"compile": {
"bin/placeholder/MediaBrowser.LocalMetadata.dll": {}
@@ -3410,7 +3385,6 @@
"dependencies": {
"AsyncKeyedLock": "8.0.2",
"BDInfo": "0.8.0",
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Common": "10.12.0",
"Jellyfin.Controller": "10.12.0",
"Jellyfin.Model": "10.12.0",
@@ -3431,7 +3405,6 @@
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"AsyncKeyedLock": "8.0.2",
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Controller": "10.12.0",
"Jellyfin.Model": "10.12.0",
"Jellyfin.Sdk": "2025.10.21",
@@ -3455,10 +3428,8 @@
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Controller": "10.12.0",
"Jellyfin.Model": "10.12.0",
"Jellyfin.Sdk": "2025.10.21"
"Jellyfin.Model": "10.12.0"
},
"compile": {
"bin/placeholder/MediaBrowser.XbmcMetadata.dll": {}
@@ -7748,7 +7719,6 @@
"AutoFixture >= 4.18.1",
"AutoFixture.AutoMoq >= 4.18.1",
"AutoFixture.Xunit2 >= 4.18.1",
"Jellyfin.CodeAnalysis >= 1.0.0",
"Jellyfin.Sdk >= 2025.10.21",
"Microsoft.AspNetCore.Mvc.Testing >= 11.0.0-preview.1.26104.118",
"Microsoft.CodeAnalysis.BannedApiAnalyzers >= 4.14.0",
@@ -7800,9 +7770,6 @@
"projectReferences": {
"E:\\Projects\\pgsql-jellyfin\\Jellyfin.Server\\Jellyfin.Server.csproj": {
"projectPath": "E:\\Projects\\pgsql-jellyfin\\Jellyfin.Server\\Jellyfin.Server.csproj"
},
"E:\\Projects\\pgsql-jellyfin\\src\\Jellyfin.CodeAnalysis\\Jellyfin.CodeAnalysis.csproj": {
"projectPath": "E:\\Projects\\pgsql-jellyfin\\src\\Jellyfin.CodeAnalysis\\Jellyfin.CodeAnalysis.csproj"
}
}
}
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "pAHS2jcV+/I=",
"dgSpecHash": "w91ZWhPlQGM=",
"success": true,
"projectFilePath": "E:\\Projects\\pgsql-jellyfin\\tests\\Jellyfin.Server.Integration.Tests\\Jellyfin.Server.Integration.Tests.csproj",
"expectedPackageFiles": [