diff --git a/Directory.Build.props b/Directory.Build.props index 9f5e65e00f..6f7e00afff 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -25,8 +25,9 @@ Match: projects ending in Test, Tests, UnitTests, UITests, FuzzTests, or in a folder named Tests. Also matches projects starting with UnitTests- (e.g., UnitTests-CommonLib). Also removes all PackageReference/ProjectReference to prevent NuGet restore and dependency builds. + Note: Using case-insensitive comparison for BuildTests (handles 'false', 'False', 'FALSE'). --> - + <_ProjectName>$(MSBuildProjectName) <_IsSkippedTestProject Condition="$(_ProjectName.EndsWith('Test'))">true