diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-03-09 05:57:38 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-03-13 22:33:28 +0100 |
| commit | a8ed753f6c890f74d3a70c2653ac5548d2399737 (patch) | |
| tree | f3ce12a6cdd920630930699eb112656f0227b7f6 /MediaBrowser.Common/MediaBrowser.Common.csproj | |
| parent | 260b48ef9d5547581f0499152b52317babc5f86f (diff) | |
FxCop -> Net Analyzers (part 2)
Diffstat (limited to 'MediaBrowser.Common/MediaBrowser.Common.csproj')
| -rw-r--r-- | MediaBrowser.Common/MediaBrowser.Common.csproj | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/MediaBrowser.Common/MediaBrowser.Common.csproj b/MediaBrowser.Common/MediaBrowser.Common.csproj index 34e1934e2..0d9f78704 100644 --- a/MediaBrowser.Common/MediaBrowser.Common.csproj +++ b/MediaBrowser.Common/MediaBrowser.Common.csproj @@ -33,6 +33,8 @@ <GenerateAssemblyInfo>false</GenerateAssemblyInfo> <GenerateDocumentationFile>true</GenerateDocumentationFile> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <AnalysisMode>AllEnabledByDefault</AnalysisMode> + <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet> <PublishRepositoryUrl>true</PublishRepositoryUrl> <EmbedUntrackedSources>true</EmbedUntrackedSources> <IncludeSymbols>true</IncludeSymbols> @@ -51,10 +53,6 @@ <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" /> </ItemGroup> - <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> - <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet> - </PropertyGroup> - <ItemGroup> <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo"> <_Parameter1>Jellyfin.Common.Tests</_Parameter1> |
