aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming
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 /Emby.Naming
parent6392a8037f9be3526c350f61372c8fe17ab96937 (diff)
Add IDisposableAnalyzers to more projects
Diffstat (limited to 'Emby.Naming')
-rw-r--r--Emby.Naming/Emby.Naming.csproj6
1 files changed, 5 insertions, 1 deletions
diff --git a/Emby.Naming/Emby.Naming.csproj b/Emby.Naming/Emby.Naming.csproj
index f3973dad9..bc7548189 100644
--- a/Emby.Naming/Emby.Naming.csproj
+++ b/Emby.Naming/Emby.Naming.csproj
@@ -45,8 +45,12 @@
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
</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>