Skip to content

Commit dd9a050

Browse files
committed
Restrict Code Analysis to the Encoder library.
Apparently, it has never been run on the UnitTest library before.
1 parent cc5ce82 commit dd9a050

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Directory.Build.props

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
</ItemGroup>
2929

3030
<!-- Code Analysis -->
31-
<PropertyGroup>
32-
<CodeAnalysisRuleSet>..\CodeAnalysis.ruleset</CodeAnalysisRuleSet>
33-
</PropertyGroup>
34-
3531
<ItemGroup>
3632
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.2" />
3733
<PackageReference Include="Roslynator.Analyzers" Version="2.0.0" />

Microsoft.Security.Application.Encoder/Microsoft.Security.Application.Encoder.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
<Tags>AntiXSS, ASP.NET</Tags>
2020
</PropertyGroup>
2121

22+
<PropertyGroup>
23+
<CodeAnalysisRuleSet>..\CodeAnalysis.ruleset</CodeAnalysisRuleSet>
24+
</PropertyGroup>
25+
2226
<ItemGroup>
2327
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
2428
<_Parameter1>$(MSBuildProjectName).UnitTests</_Parameter1>

0 commit comments

Comments
 (0)