C#: Avoid explicitly restoring the projects in the restored solution files.

This commit is contained in:
Michael Nebel
2023-08-31 13:30:24 +02:00
parent aaaf6f8616
commit 6bfaa90fe4
5 changed files with 82 additions and 28 deletions

View File

@@ -4,7 +4,8 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
{
internal interface IDotNet
{
bool RestoreToDirectory(string project, string directory, string? pathToNugetConfig = null);
bool RestoreProjectToDirectory(string project, string directory, string? pathToNugetConfig = null);
bool RestoreSolutionToDirectory(string solution, string directory, out IList<string> projects);
bool New(string folder);
bool AddPackage(string folder, string package);
IList<string> GetListedRuntimes();