Skip to content

Commit

Permalink
Fix incremental build failure for customization of RunAnalyzersDuring…
Browse files Browse the repository at this point in the history
…Build
  • Loading branch information
sharwell committed Dec 20, 2021
1 parent 9e35a98 commit bca0522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/targets/Imports.targets
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
Otherwise, default to 'true'.
-->
<PropertyGroup Condition="'$(RunAnalyzersDuringBuild)' == ''">
<RunAnalyzersDuringBuild Condition="'$(DesignTimeBuild)' != 'true' AND '$(ContinuousIntegrationBuild)' != 'true' AND !('$(RoslynEnforceCodeStyle)' == 'true' OR '$(RunCodeAnalysis)' == 'true')">false</RunAnalyzersDuringBuild>
<RunAnalyzersDuringBuild Condition="'$(RoslynEnforceCodeStyle)' != 'true' AND '$(RunCodeAnalysis)' != 'true'">false</RunAnalyzersDuringBuild>
<RunAnalyzersDuringBuild Condition="'$(RunAnalyzersDuringBuild)' == ''">true</RunAnalyzersDuringBuild>
</PropertyGroup>

Expand Down

0 comments on commit bca0522

Please sign in to comment.