DotNetRestorer.

Restore(string, DotNetRestoreSettings) Method

Summary

Restore the project using the specified path and settings.

Syntax

public void Restore(string root, DotNetRestoreSettings settings)

Parameters

Name Type Description
root string List of projects and project folders to restore. Each value can be: a path to a project.json or global.json file, or a folder to recursively search for project.json files.
settings DotNetRestoreSettings The settings.

Return Value

Type Description
void