Skip to content

Commit e1d0e36

Browse files
authored
Modify DisableSlowAnalyzers target execution condition
Removed the condition for the DisableSlowAnalyzers target to always execute before CoreCompile.
1 parent e045ea9 commit e1d0e36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</Target>
77

88
<!-- Workaround for compiler regression at https://github.com/dotnet/roslyn/issues/80756 -->
9-
<Target Name="DisableSlowAnalyzers" Condition="'$(Configuration)' == 'Debug'" BeforeTargets="CoreCompile">
9+
<Target Name="DisableSlowAnalyzers" BeforeTargets="CoreCompile">
1010
<ItemGroup>
1111
<Analyzer Remove="@(Analyzer)" Condition="'%(Filename)' == 'CSharpGuidelinesAnalyzer'" />
1212
<Analyzer Remove="@(Analyzer)" Condition="'%(Filename)' == 'Microsoft.CodeAnalysis.CSharp.CodeStyle'" />

0 commit comments

Comments
 (0)