aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-11-08 11:17:46 +0100
committerGitHub <noreply@github.com>2023-11-08 11:17:46 +0100
commit2853a5c047ad96dab2924a149b8e187a82cf5ea0 (patch)
tree1a58b4a12c8bf4a111208f521c517e5b7ee1b30b /Emby.Server.Implementations
parent9d4352789d6ff7a59cdda37e3bbb02aa740ed99f (diff)
parenta9ef103c95a7460031879726f4afda3013ca6619 (diff)
Merge pull request #10531 from Bond-009/disposable
Add IDisposableAnalyzers to more projects
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/Emby.Server.Implementations.csproj7
1 files changed, 6 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Emby.Server.Implementations.csproj b/Emby.Server.Implementations/Emby.Server.Implementations.csproj
index 80263c139..b48e389ac 100644
--- a/Emby.Server.Implementations/Emby.Server.Implementations.csproj
+++ b/Emby.Server.Implementations/Emby.Server.Implementations.csproj
@@ -49,8 +49,13 @@
<CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
</PropertyGroup>
- <!-- Code Analyzers-->
+ <!-- Code Analyzers -->
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
+ <!-- TODO: Add IDisposableAnalyzers -->
+ <!-- <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>