diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-01-13 19:16:22 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-01-13 19:16:22 +0100 |
| commit | 56de8c893ab23348a6f972bd216a931020f8d8e0 (patch) | |
| tree | 939a965a463d82bc02299b30e55a661a17b68eeb | |
| parent | 78a5d999f4e5c92dfc70d4428f88a3c6597dea9d (diff) | |
Add code analysers for debug builds
| -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 98c578e830..e7358e6a12 100644 --- a/Jellyfin.Server/Jellyfin.Server.csproj +++ b/Jellyfin.Server/Jellyfin.Server.csproj @@ -20,6 +20,13 @@ <EmbeddedResource Include="Resources/Configuration/*" /> </ItemGroup> + <!-- Code analysers--> + <ItemGroup Condition=" '$(Configuration)' == 'Debug' "> + <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.3" /> + <PackageReference Include="StyleCop.Analyzers" Version="1.0.2" /> + <PackageReference Include="SerilogAnalyzer" Version="0.15.0" /> + </ItemGroup> + <ItemGroup> <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.2.0" /> <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.2.0" /> |
