diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-11-08 11:17:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-08 11:17:46 +0100 |
| commit | 2853a5c047ad96dab2924a149b8e187a82cf5ea0 (patch) | |
| tree | 1a58b4a12c8bf4a111208f521c517e5b7ee1b30b /MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj | |
| parent | 9d4352789d6ff7a59cdda37e3bbb02aa740ed99f (diff) | |
| parent | a9ef103c95a7460031879726f4afda3013ca6619 (diff) | |
Merge pull request #10531 from Bond-009/disposable
Add IDisposableAnalyzers to more projects
Diffstat (limited to 'MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj')
| -rw-r--r-- | MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj b/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj index a0624fe76..1f39e88cd 100644 --- a/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj +++ b/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj @@ -29,8 +29,12 @@ <PackageReference Include="UTF.Unknown" /> </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> |
