aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Networking
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2023-11-05 02:01:14 +0100
committerBond_009 <bond.009@outlook.com>2023-11-05 02:01:14 +0100
commita9ef103c95a7460031879726f4afda3013ca6619 (patch)
tree3df916041590d163b86730e38aca27afe9285335 /Jellyfin.Networking
parent6392a8037f9be3526c350f61372c8fe17ab96937 (diff)
Add IDisposableAnalyzers to more projects
Diffstat (limited to 'Jellyfin.Networking')
-rw-r--r--Jellyfin.Networking/Jellyfin.Networking.csproj6
1 files changed, 5 insertions, 1 deletions
diff --git a/Jellyfin.Networking/Jellyfin.Networking.csproj b/Jellyfin.Networking/Jellyfin.Networking.csproj
index 4cff5927fd..43d08c37a1 100644
--- a/Jellyfin.Networking/Jellyfin.Networking.csproj
+++ b/Jellyfin.Networking/Jellyfin.Networking.csproj
@@ -9,8 +9,12 @@
<Compile Include="..\SharedVersion.cs" />
</ItemGroup>
- <!-- Code Analyzers-->
+ <!-- Code Analyzers -->
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
+ <PackageReference Include="IDisposableAnalyzers">
+ <PrivateAssets>all</PrivateAssets>
+ <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
+ </PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>