Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ public static string ResolvePath(string pathFragment, string runtime, ILogger? l
return Directory.EnumerateDirectories(parent).FirstOrDefault(fullFolderPath => Path.GetFileName(fullFolderPath).Equals(child, StringComparison.InvariantCultureIgnoreCase));
}

string? projectFolder = GetChildFolderCaseInsensitive(candidate.FullName, pathFragment);
// assume pathFragment is in the correct case
string? projectFolder = Path.Combine(candidate.FullName, pathFragment);

if (projectFolder is not null)
if (Directory.Exists(projectFolder))
{
string? binFolder = GetChildFolderCaseInsensitive(projectFolder, "bin");
if (binFolder is not null)
Expand Down