diff options
| author | Bond_009 <bond.009@outlook.com> | 2023-11-05 02:01:14 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2023-11-05 02:01:14 +0100 |
| commit | a9ef103c95a7460031879726f4afda3013ca6619 (patch) | |
| tree | 3df916041590d163b86730e38aca27afe9285335 /Emby.Server.Implementations/Emby.Server.Implementations.csproj | |
| parent | 6392a8037f9be3526c350f61372c8fe17ab96937 (diff) | |
Add IDisposableAnalyzers to more projects
Diffstat (limited to 'Emby.Server.Implementations/Emby.Server.Implementations.csproj')
| -rw-r--r-- | Emby.Server.Implementations/Emby.Server.Implementations.csproj | 7 |
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> |
