Skip to content

Commit 4e4c5f8

Browse files
authored
Merge pull request github#13619 from tamasvajk/remove-rename-standalone
C#: Remove the renaming of `Directory.Build.props` from standalone extraction
2 parents 133de56 + 2de356d commit 4e4c5f8

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)