From 67ad235ac59c627be15f32cceb342944dc355a60 Mon Sep 17 00:00:00 2001 From: Marco Minerva Date: Thu, 17 Jul 2025 10:17:56 +0200 Subject: [PATCH] Add support for .slnx file exclusion in BaselineTest This update introduces a new condition to the `relativePath` checks in `BaselineTest.cs`. The code now excludes files that end with the `.slnx` extension, enhancing the filtering of project-related file types and directories during processing. --- src/ProjectTemplates/test/Templates.Tests/BaselineTest.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ProjectTemplates/test/Templates.Tests/BaselineTest.cs b/src/ProjectTemplates/test/Templates.Tests/BaselineTest.cs index 55a1bc3e091b..629a50c9c998 100644 --- a/src/ProjectTemplates/test/Templates.Tests/BaselineTest.cs +++ b/src/ProjectTemplates/test/Templates.Tests/BaselineTest.cs @@ -92,6 +92,7 @@ public async Task Template_Produces_The_Right_Set_Of_FilesAsync(string arguments relativePath.EndsWith(".fsproj", StringComparison.Ordinal) || relativePath.EndsWith(".props", StringComparison.Ordinal) || relativePath.EndsWith(".sln", StringComparison.Ordinal) || + relativePath.EndsWith(".slnx", StringComparison.Ordinal) || relativePath.EndsWith(".targets", StringComparison.Ordinal) || relativePath.StartsWith("bin/", StringComparison.Ordinal) || relativePath.StartsWith("obj/", StringComparison.Ordinal) ||