aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaBrowser.Controller.csproj
diff options
context:
space:
mode:
authorRich Lander <rlander@microsoft.com>2021-07-30 00:49:28 -0700
committerGitHub <noreply@github.com>2021-07-30 09:49:28 +0200
commitc07e83fdf87e61f30e4cca4e458113ac315918ae (patch)
treec5e94c360fc683b4c13fbed2f4fab197921db17b /MediaBrowser.Controller/MediaBrowser.Controller.csproj
parent92c2d206093d2243223a4c37e86f3f1f56b5626e (diff)
Invert code and style analysis configuration (#6334)
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'MediaBrowser.Controller/MediaBrowser.Controller.csproj')
-rw-r--r--MediaBrowser.Controller/MediaBrowser.Controller.csproj9
1 files changed, 5 insertions, 4 deletions
diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj
index 4bed112e4..0f697bccc 100644
--- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj
+++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj
@@ -35,14 +35,15 @@
<TargetFramework>net5.0</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
- <TreatWarningsAsErrors Condition=" '$(Configuration)' == 'Release' ">true</TreatWarningsAsErrors>
- <Nullable>enable</Nullable>
- <AnalysisMode Condition=" '$(Configuration)' == 'Debug' ">AllEnabledByDefault</AnalysisMode>
- <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
+ <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
+ </PropertyGroup>
+
+ <PropertyGroup Condition=" '$(Configuration)' == 'Release'">
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Stability)'=='Unstable'">