Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
Include projects ending in `Tests` too.
  • Loading branch information
martincostello committed Apr 3, 2024
1 parent e201606 commit 4e72a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup Condition=" '$(IsTestProject)' != 'true' AND $(MSBuildProjectDirectory.EndsWith('Test')) ">
<PropertyGroup Condition=" '$(IsTestProject)' != 'true' AND ($(MSBuildProjectDirectory.EndsWith('Test')) OR $(MSBuildProjectDirectory.EndsWith('Tests'))) ">
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<PropertyGroup Condition=" '$(IsTestProject)' == 'true' AND '$(BuildingInsideVisualStudio)' != 'true' ">
Expand Down

0 comments on commit 4e72a0b

Please sign in to comment.