C#: Remove the renaming of Directory.Build.props from standalone extraction

This commit is contained in:
Tamas Vajk
2023-06-29 15:06:43 +02:00
parent b500bbba76
commit 2de356dbfe

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 } :