aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaBrowser.Controller.csproj
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-08-22 21:56:24 +0200
committerBond_009 <bond.009@outlook.com>2020-08-22 21:56:24 +0200
commit404bb4f83521760b3e9eeb748ab21d9056c4c023 (patch)
tree79f98f80eb9d3e610486346278517953edb534e3 /MediaBrowser.Controller/MediaBrowser.Controller.csproj
parent92c491397eb81ed0d9349f11036c9f3a1e2be2e4 (diff)
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
Diffstat (limited to 'MediaBrowser.Controller/MediaBrowser.Controller.csproj')
-rw-r--r--MediaBrowser.Controller/MediaBrowser.Controller.csproj1
1 files changed, 1 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj
index 67f17f7a52..9692cf921d 100644
--- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj
+++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj
@@ -30,6 +30,7 @@
<TargetFramework>netstandard2.1</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
+ <TreatWarningsAsErrors Condition=" '$(Configuration)' == 'Release' ">true</TreatWarningsAsErrors>
</PropertyGroup>
<!-- Code Analyzers-->