aboutsummaryrefslogtreecommitdiff
path: root/Emby.Photos
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.Photos
parent6392a8037f9be3526c350f61372c8fe17ab96937 (diff)
Add IDisposableAnalyzers to more projects
Diffstat (limited to 'Emby.Photos')
-rw-r--r--Emby.Photos/Emby.Photos.csproj8
1 files changed, 6 insertions, 2 deletions
diff --git a/Emby.Photos/Emby.Photos.csproj b/Emby.Photos/Emby.Photos.csproj
index 0f97a0686..5a04bbe49 100644
--- a/Emby.Photos/Emby.Photos.csproj
+++ b/Emby.Photos/Emby.Photos.csproj
@@ -24,14 +24,18 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
- <!-- 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>
</PackageReference>
- <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
<PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
+ <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
<PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
</ItemGroup>