diff options
| author | Bond_009 <bond.009@outlook.com> | 2023-09-23 15:12:12 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2023-09-23 15:15:58 +0200 |
| commit | afc195286ff3cc0e08d51d75d3031e17108b495d (patch) | |
| tree | 25414e06955843c1358a24f4d0059d52afb3c60a /src/Jellyfin.Drawing | |
| parent | eb5f76a4470994ba1aaab4eb64b1d40f96a202d6 (diff) | |
Start adding IDisposableAnalyzers to projects
Diffstat (limited to 'src/Jellyfin.Drawing')
| -rw-r--r-- | src/Jellyfin.Drawing/Jellyfin.Drawing.csproj | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Jellyfin.Drawing/Jellyfin.Drawing.csproj b/src/Jellyfin.Drawing/Jellyfin.Drawing.csproj index e0963ac34..2a5e24a44 100644 --- a/src/Jellyfin.Drawing/Jellyfin.Drawing.csproj +++ b/src/Jellyfin.Drawing/Jellyfin.Drawing.csproj @@ -21,8 +21,12 @@ <Compile Include="..\..\SharedVersion.cs" /> </ItemGroup> - <!-- Code analysers--> + <!-- 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> |
