aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/Emby.Naming.csproj
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-01-10 21:18:16 +0100
committerBond_009 <bond.009@outlook.com>2020-01-10 21:18:16 +0100
commitbb236b95916c7fe0fc04fefbb409686ab289a758 (patch)
tree72d32e64a7bc36777ad84c3503ccd33075c136db /Emby.Naming/Emby.Naming.csproj
parent7f5a174dff98c6071fc292a41bba63d1435c2ddd (diff)
parent162c1ac7b7fde0e4929cf262b0f275e3eb15524c (diff)
Merge branch 'master' into warn12
Diffstat (limited to 'Emby.Naming/Emby.Naming.csproj')
-rw-r--r--Emby.Naming/Emby.Naming.csproj6
1 files changed, 5 insertions, 1 deletions
diff --git a/Emby.Naming/Emby.Naming.csproj b/Emby.Naming/Emby.Naming.csproj
index 3be5bbbaf..900b9694c 100644
--- a/Emby.Naming/Emby.Naming.csproj
+++ b/Emby.Naming/Emby.Naming.csproj
@@ -6,6 +6,10 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ </PropertyGroup>
+
<ItemGroup>
<Compile Include="..\SharedVersion.cs" />
</ItemGroup>
@@ -21,7 +25,7 @@
<RepositoryUrl>https://github.com/jellyfin/jellyfin</RepositoryUrl>
</PropertyGroup>
- <!-- Code analysers-->
+ <!-- Code Analyzers-->
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="All" />
<PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />