diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-04-06 20:02:06 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-04-06 20:02:06 +0200 |
| commit | 95327b842e9eb50ca2c53740674b8ed2f6615eae (patch) | |
| tree | 00cf812d30a048a7405c5ba7e9b66102e7101409 /Emby.Photos | |
| parent | 3412120c614384fc82bef4571c2fdcd45dae0a38 (diff) | |
Enable NetAnalyzers for more projects
Diffstat (limited to 'Emby.Photos')
| -rw-r--r-- | Emby.Photos/Emby.Photos.csproj | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Emby.Photos/Emby.Photos.csproj b/Emby.Photos/Emby.Photos.csproj index e64a658c5..2b6618159 100644 --- a/Emby.Photos/Emby.Photos.csproj +++ b/Emby.Photos/Emby.Photos.csproj @@ -24,6 +24,8 @@ <GenerateDocumentationFile>true</GenerateDocumentationFile> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> <Nullable>enable</Nullable> + <AnalysisMode>AllEnabledByDefault</AnalysisMode> + <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet> </PropertyGroup> <!-- Code Analyzers--> @@ -33,8 +35,4 @@ <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" /> </ItemGroup> - <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> - <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet> - </PropertyGroup> - </Project> |
