Skip to content

Commit 5565c15

Browse files
feat: Resolve .slnx (solution) file in common directory paths (#1492)
1 parent 7669b5e commit 5565c15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Testcontainers/Builders/CommonDirectoryPath.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static CommonDirectoryPath GetGitDirectory([CallerFilePath, NotNull] stri
7676
[PublicAPI]
7777
public static CommonDirectoryPath GetSolutionDirectory([CallerFilePath, NotNull] string filePath = "")
7878
{
79-
return new CommonDirectoryPath(GetDirectoryPath(Path.GetDirectoryName(filePath), "*.sln"));
79+
return new CommonDirectoryPath(GetDirectoryPath(Path.GetDirectoryName(filePath), "*.sln", "*.slnx"));
8080
}
8181

8282
/// <summary>

0 commit comments

Comments
 (0)