Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b6fcbf0

Browse files
committedMar 12, 2025·
ToolManifestFinder detect .slnx
1 parent 95a27f0 commit b6fcbf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Cli/dotnet/ToolManifest/ToolManifestFinder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ private DirectoryPath GetDirectoryToCreateToolManifest()
214214
if (currentSearchDirectory.Value.Value != null)
215215
{
216216
if (_fileSystem.Directory.EnumerateFiles(currentSearchDirectory.Value.Value)
217-
.Any(filename => Path.GetExtension(filename).Equals(".sln", StringComparison.OrdinalIgnoreCase))
217+
.Any(filename => Path.GetExtension(filename).Equals(".sln", StringComparison.OrdinalIgnoreCase) || Path.GetExtension(filename).Equals(".slnx", StringComparison.OrdinalIgnoreCase))
218218
|| _fileSystem.File.Exists(currentSearchDirectory.Value.WithFile(".git").Value))
219219

220220
{

0 commit comments

Comments
 (0)
Please sign in to comment.