diff options
Diffstat (limited to 'Jellyfin.Server/Jellyfin.Server.csproj')
| -rw-r--r-- | Jellyfin.Server/Jellyfin.Server.csproj | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Jellyfin.Server/Jellyfin.Server.csproj b/Jellyfin.Server/Jellyfin.Server.csproj index 1f72de86d7..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" /> @@ -41,9 +48,8 @@ <PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" /> <PackageReference Include="Serilog.Sinks.File" Version="4.0.0" /> <PackageReference Include="SkiaSharp" Version="1.68.0" /> - <PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="1.1.12" /> - <PackageReference Include="SQLitePCLRaw.core" Version="1.1.12" /> - <PackageReference Include="SQLitePCLRaw.provider.sqlite3.netstandard11" Version="1.1.12" /> + <PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="1.1.13" /> + <PackageReference Include="SQLitePCLRaw.provider.sqlite3.netstandard11" Version="1.1.13" /> </ItemGroup> <ItemGroup> |
