Skip to content

Commit 2de356d

Browse files
committed
C#: Remove the renaming of Directory.Build.props from standalone extraction
1 parent b500bbb commit 2de356d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

csharp/extractor/Semmle.Extraction.CSharp.Standalone/BuildAnalysis.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,8 @@ public BuildAnalysis(Options options, IProgressMonitor progress)
100100
dllDirNames.Add(runtimeLocation);
101101
}
102102

103-
// These files can sometimes prevent `dotnet restore` from working correctly.
103+
// TODO: remove the below when the required SDK is installed
104104
using (new FileRenamer(sourceDir.GetFiles("global.json", SearchOption.AllDirectories)))
105-
using (new FileRenamer(sourceDir.GetFiles("Directory.Build.props", SearchOption.AllDirectories)))
106105
{
107106
var solutions = options.SolutionFile is not null ?
108107
new[] { options.SolutionFile } :

0 commit comments

Comments
 (0)