diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-12-13 20:11:37 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-12-13 20:11:37 +0100 |
| commit | 5a8e972952e45ff7361d8370e289eb44911b914c (patch) | |
| tree | 053ccf6920a20a3fdb550791f8895cfd0c99224b /Emby.Server.Implementations/Emby.Server.Implementations.csproj | |
| parent | 54dbdc695a1c4d3b987f9fd91be55ff109975a43 (diff) | |
Enable TreatWarningsAsErrors for some projects
Analyzers are only run in debug build, so setting TreatWarningsAsErrors
for release build will catch the compiler warnings until we resolve all
analyzer warnings.
Diffstat (limited to 'Emby.Server.Implementations/Emby.Server.Implementations.csproj')
| -rw-r--r-- | Emby.Server.Implementations/Emby.Server.Implementations.csproj | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/Emby.Server.Implementations.csproj b/Emby.Server.Implementations/Emby.Server.Implementations.csproj index fde4d7059..6b45f75bc 100644 --- a/Emby.Server.Implementations/Emby.Server.Implementations.csproj +++ b/Emby.Server.Implementations/Emby.Server.Implementations.csproj @@ -50,13 +50,13 @@ <GenerateDocumentationFile>true</GenerateDocumentationFile> </PropertyGroup> - <!-- Code analysers--> - <ItemGroup Condition=" '$(Configuration)' == 'Debug' "> + <!-- Code Analyzers--> + <!--<ItemGroup Condition=" '$(Configuration)' == 'Debug' "> <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.7" /> <PackageReference Include="SerilogAnalyzer" Version="0.15.0" /> <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" /> <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" /> - </ItemGroup> + </ItemGroup>--> <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet> |
