DotNetReferenceAdder.

Add(string, IEnumerable<FilePath>, DotNetReferenceAddSettings) Method

Summary

Adds project-to-project (P2P) references.

Syntax

public void Add(string project, IEnumerable<FilePath> projectReferences, DotNetReferenceAddSettings settings)

Parameters

Name Type Description
project string The target project file path. If not specified, the command searches the current directory for one.
projectReferences IEnumerable<FilePath> One or more project references to add. Glob patterns are supported on Unix/Linux-based systems.
settings DotNetReferenceAddSettings The settings.

Return Value

Type Description
void