Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

Commit e47e32e

Browse files
author
Jérémie Bertrand
committed
Activate report generation for roslyn analysers
1 parent 25d99f2 commit e47e32e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/Pretzel.Logic/Pretzel.Logic.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<ErrorReport>prompt</ErrorReport>
2626
<WarningLevel>4</WarningLevel>
2727
<Prefer32Bit>false</Prefer32Bit>
28+
<ErrorLog>$(OutputPath)\static-analysis.sarif.json</ErrorLog>
2829
</PropertyGroup>
2930
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3031
<DebugType>pdbonly</DebugType>
@@ -34,6 +35,7 @@
3435
<ErrorReport>prompt</ErrorReport>
3536
<WarningLevel>4</WarningLevel>
3637
<Prefer32Bit>false</Prefer32Bit>
38+
<ErrorLog>$(OutputPath)\static-analysis.sarif.json</ErrorLog>
3739
</PropertyGroup>
3840
<ItemGroup>
3941
<Reference Include="AjaxMin, Version=5.14.5506.26196, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f, processorArchitecture=MSIL">

src/Pretzel/Pretzel.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<PlatformTarget>AnyCPU</PlatformTarget>
2929
<ErrorReport>prompt</ErrorReport>
3030
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
31+
<ErrorLog>$(OutputPath)\static-analysis.sarif.json</ErrorLog>
3132
</PropertyGroup>
3233
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
3334
<OutputPath>bin\Release\</OutputPath>
@@ -37,6 +38,7 @@
3738
<PlatformTarget>AnyCPU</PlatformTarget>
3839
<ErrorReport>prompt</ErrorReport>
3940
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
41+
<ErrorLog>$(OutputPath)\static-analysis.sarif.json</ErrorLog>
4042
</PropertyGroup>
4143
<ItemGroup>
4244
<Reference Include="DotLiquid, Version=2.0.64.0, Culture=neutral, PublicKeyToken=82e46016ecf9f07c, processorArchitecture=MSIL">

0 commit comments

Comments
 (0)