aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Networking
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-03-14 00:41:40 +0100
committerGitHub <noreply@github.com>2021-03-14 00:41:40 +0100
commit0e5d4a3bcfaa07c3cd1c0085a5940b1c13f1ae20 (patch)
treeff6018170854d520370903cfc0b6bb56afe362cd /Jellyfin.Networking
parent5c0c205bedb504d7123c2509a6dcb689ffc1f7e6 (diff)
parent01dfa8801a74f8c6802aea33d9bce0e421601faa (diff)
Merge pull request #5422 from Bond-009/warn51
Diffstat (limited to 'Jellyfin.Networking')
-rw-r--r--Jellyfin.Networking/Jellyfin.Networking.csproj6
1 files changed, 2 insertions, 4 deletions
diff --git a/Jellyfin.Networking/Jellyfin.Networking.csproj b/Jellyfin.Networking/Jellyfin.Networking.csproj
index f89a184263..63557e91f0 100644
--- a/Jellyfin.Networking/Jellyfin.Networking.csproj
+++ b/Jellyfin.Networking/Jellyfin.Networking.csproj
@@ -5,6 +5,8 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Nullable>enable</Nullable>
+ <AnalysisMode>AllEnabledByDefault</AnalysisMode>
+ <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
@@ -18,10 +20,6 @@
<PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
</ItemGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
- <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
-
<ItemGroup>
<ProjectReference Include="..\MediaBrowser.Common\MediaBrowser.Common.csproj" />
<ProjectReference Include="..\MediaBrowser.Controller\MediaBrowser.Controller.csproj" />