Skip to content

Commit c45e19c

Browse files
authored
fix: correct path handling in SlnParser to ensure proper file resolution (#72)
1 parent 94257eb commit c45e19c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ProjGraph.Lib.Core/Parsers/SlnParser.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public IEnumerable<string> GetProjectPaths(string path)
2424
return [];
2525
}
2626

27-
var slnFile = SolutionFile.Parse(path);
27+
var fullPath = fileSystem.GetFullPath(path);
28+
var slnFile = SolutionFile.Parse(fullPath);
2829

2930
return slnFile.ProjectsInOrder
3031
.Where(p => p.ProjectType == SolutionProjectType.KnownToBeMSBuildFormat)

0 commit comments

Comments
 (0)