Merge pull request #13619 from tamasvajk/remove-rename-standalone

C#: Remove the renaming of `Directory.Build.props` from standalone extraction
This commit is contained in:
Tamás Vajk
2023-06-30 12:24:05 +02:00
committed by GitHub

View File

@@ -100,9 +100,8 @@ namespace Semmle.BuildAnalyser
dllDirNames.Add(runtimeLocation);
}
// These files can sometimes prevent `dotnet restore` from working correctly.
// TODO: remove the below when the required SDK is installed
using (new FileRenamer(sourceDir.GetFiles("global.json", SearchOption.AllDirectories)))
using (new FileRenamer(sourceDir.GetFiles("Directory.Build.props", SearchOption.AllDirectories)))
{
var solutions = options.SolutionFile is not null ?
new[] { options.SolutionFile } :