aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.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.Server.Implementations/Jellyfin.Server.Implementations.csproj
parent2e7d173188cc755ed56b8a45e3b18206afdc4b91 (diff)
Update StyleCop
Diffstat (limited to 'Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj')
-rw-r--r--Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj6
1 files changed, 5 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj b/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj
index d22757c033..86aec13999 100644
--- a/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj
+++ b/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj
@@ -6,10 +6,14 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
+ <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
+ </PropertyGroup>
+
<!-- Code analysers-->
<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>