aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Jellyfin.Api.csproj
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-12-24 18:28:27 +0100
committerBond_009 <bond.009@outlook.com>2021-12-24 18:28:27 +0100
commitcbfa355e31ec7a78ef73bbde5566fb2b3424363e (patch)
tree7d6dd095e025b5918fca1fcc5d354012bd4cc428 /Jellyfin.Api/Jellyfin.Api.csproj
parent2e7d173188cc755ed56b8a45e3b18206afdc4b91 (diff)
Update StyleCop
Diffstat (limited to 'Jellyfin.Api/Jellyfin.Api.csproj')
-rw-r--r--Jellyfin.Api/Jellyfin.Api.csproj6
1 files changed, 5 insertions, 1 deletions
diff --git a/Jellyfin.Api/Jellyfin.Api.csproj b/Jellyfin.Api/Jellyfin.Api.csproj
index ccd647ebe..b5af07408 100644
--- a/Jellyfin.Api/Jellyfin.Api.csproj
+++ b/Jellyfin.Api/Jellyfin.Api.csproj
@@ -12,6 +12,10 @@
<NoWarn>AD0001</NoWarn>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
+ <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
+ </PropertyGroup>
+
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
@@ -27,7 +31,7 @@
<!-- Code Analyzers-->
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
<PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
- <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
+ <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.376" PrivateAssets="All" />
<PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
</ItemGroup>