浏览代码

Enable analyzers

Bond-009 5 年之前
父节点
当前提交
5c9e849b85
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      Emby.Photos/Emby.Photos.csproj
  2. 2 2
      Emby.Server.Implementations/Emby.Server.Implementations.csproj

+ 2 - 2
Emby.Photos/Emby.Photos.csproj

@@ -25,11 +25,11 @@
   </PropertyGroup>
 
   <!-- Code Analyzers-->
-  <!--<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
+  <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
     <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.7" />
     <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
     <PackageReference Include="SerilogAnalyzer" Version="0.15.0" />
-  </ItemGroup>-->
+  </ItemGroup>
 
   <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
     <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>

+ 2 - 2
Emby.Server.Implementations/Emby.Server.Implementations.csproj

@@ -51,12 +51,12 @@
   </PropertyGroup>
 
   <!-- Code Analyzers-->
-  <!--<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
+  <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>