mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
C#: Improvements to buildless extraction, particularly for .NET Core.
This commit is contained in:
@@ -11,6 +11,7 @@ namespace Semmle.BuildAnalyser
|
||||
class SolutionFile
|
||||
{
|
||||
readonly Microsoft.Build.Construction.SolutionFile solutionFile;
|
||||
public string FullPath { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Read the file.
|
||||
@@ -19,8 +20,8 @@ namespace Semmle.BuildAnalyser
|
||||
public SolutionFile(string filename)
|
||||
{
|
||||
// SolutionFile.Parse() expects a rooted path.
|
||||
var fullPath = Path.GetFullPath(filename);
|
||||
solutionFile = Microsoft.Build.Construction.SolutionFile.Parse(fullPath);
|
||||
FullPath = Path.GetFullPath(filename);
|
||||
solutionFile = Microsoft.Build.Construction.SolutionFile.Parse(FullPath);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user