diff options
Diffstat (limited to 'Jellyfin.Server/Jellyfin.Server.csproj')
| -rw-r--r-- | Jellyfin.Server/Jellyfin.Server.csproj | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Jellyfin.Server/Jellyfin.Server.csproj b/Jellyfin.Server/Jellyfin.Server.csproj index b1515df439..bd670df527 100644 --- a/Jellyfin.Server/Jellyfin.Server.csproj +++ b/Jellyfin.Server/Jellyfin.Server.csproj @@ -5,11 +5,14 @@ <OutputType>Exe</OutputType> <TargetFramework>netcoreapp2.1</TargetFramework> <GenerateAssemblyInfo>false</GenerateAssemblyInfo> + <GenerateDocumentationFile>true</GenerateDocumentationFile> </PropertyGroup> <PropertyGroup> <!-- We need C# 7.1 for async main--> <LangVersion>latest</LangVersion> + <!-- Disable documentation warnings (for now) --> + <NoWarn>SA1600;CS1591</NoWarn> </PropertyGroup> <ItemGroup> @@ -20,6 +23,10 @@ <EmbeddedResource Include="Resources/Configuration/*" /> </ItemGroup> + <PropertyGroup Condition=" '$(Configuration)' == 'Release' "> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + </PropertyGroup> + <!-- Code analysers--> <ItemGroup Condition=" '$(Configuration)' == 'Debug' "> <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.3" /> |
