Skip to content

Commit

Permalink
[Build] Restore rules on stride analysers
Browse files Browse the repository at this point in the history
This was preventing them from being included in all projects (see stride3d#2061).
  • Loading branch information
Kryptos-FR committed Dec 30, 2023
1 parent 1fe15d2 commit 31b8ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/targets/Stride.Core.targets
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
Condition="'$(StrideEnableCodeAnalysis)' != 'true'">
<ItemGroup>
<!-- We want to include Stride analyzers by default -->
<AnalyzersNotToRemove Include="@(Analyzer)" Condition="$(FullPath.Contains('Stride'))" />
<AnalyzersNotToRemove Include="@(Analyzer)" Condition="$([System.String]::Copy(%(FullPath)).Contains('Stride'))" />
<AnalyzersToRemove Include="@(Analyzer)" Exclude="@(AnalyzersNotToRemove)" />
<Analyzer Remove="@(AnalyzersToRemove)"/>
</ItemGroup>
Expand Down

0 comments on commit 31b8ab8

Please sign in to comment.