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
@@ -3011,7 +3011,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"
@@ -3033,7 +3032,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",
@@ -3065,14 +3063,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",
@@ -3101,7 +3097,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",
@@ -3136,9 +3131,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": {}
@@ -3155,7 +3148,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",
@@ -3174,9 +3166,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": {
@@ -3190,7 +3180,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"
},
@@ -3205,7 +3194,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",
@@ -3223,7 +3211,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",
@@ -3241,7 +3228,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",
@@ -3261,7 +3247,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",
@@ -3284,7 +3269,6 @@
"dependencies": {
"Diacritics": "4.1.4",
"ICU4N.Transliterator": "60.1.0-alpha.356",
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Sdk": "2025.10.21"
},
"compile": {
@@ -3299,7 +3283,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",
@@ -3350,7 +3333,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"
@@ -3369,10 +3351,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": {}
@@ -3385,7 +3365,6 @@
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Common": "10.12.0",
"Jellyfin.Controller": "10.12.0"
},
@@ -3401,14 +3380,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": {
@@ -3425,7 +3402,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.NET.Test.Sdk": "18.0.1",
@@ -3446,10 +3422,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": {}
@@ -3464,7 +3438,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",
@@ -3485,7 +3458,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",
@@ -3509,10 +3481,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": {}
@@ -7846,7 +7816,6 @@
"AutoFixture >= 4.18.1",
"AutoFixture.AutoMoq >= 4.18.1",
"Emby.Server.Implementations >= 1.0.0",
"Jellyfin.CodeAnalysis >= 1.0.0",
"Jellyfin.Database.Implementations >= 10.11.0",
"Jellyfin.Sdk >= 2025.10.21",
"Jellyfin.Server.Implementations >= 1.0.0",
@@ -7903,9 +7872,6 @@
"E:\\Projects\\pgsql-jellyfin\\Jellyfin.Server.Implementations\\Jellyfin.Server.Implementations.csproj": {
"projectPath": "E:\\Projects\\pgsql-jellyfin\\Jellyfin.Server.Implementations\\Jellyfin.Server.Implementations.csproj"
},
"E:\\Projects\\pgsql-jellyfin\\src\\Jellyfin.CodeAnalysis\\Jellyfin.CodeAnalysis.csproj": {
"projectPath": "E:\\Projects\\pgsql-jellyfin\\src\\Jellyfin.CodeAnalysis\\Jellyfin.CodeAnalysis.csproj"
},
"E:\\Projects\\pgsql-jellyfin\\src\\Jellyfin.Database\\Jellyfin.Database.Implementations\\Jellyfin.Database.Implementations.csproj": {
"projectPath": "E:\\Projects\\pgsql-jellyfin\\src\\Jellyfin.Database\\Jellyfin.Database.Implementations\\Jellyfin.Database.Implementations.csproj"
},
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "wBLLsvDPe+0=",
"dgSpecHash": "piiIPUfU31k=",
"success": true,
"projectFilePath": "E:\\Projects\\pgsql-jellyfin\\tests\\Jellyfin.Server.Implementations.Tests\\Jellyfin.Server.Implementations.Tests.csproj",
"expectedPackageFiles": [