Summary
Adds one or more projects to the solution file.
Syntax
public void Add(FilePath solution, IEnumerable<FilePath> projectPath, DotNetSlnAddSettings settings)
Parameters
Name |
Type |
Description |
solution |
FilePath |
The solution file to use. If it is unspecified, the command searches the current directory for one and fails if there are multiple solution files. |
projectPath |
IEnumerable<FilePath> |
The path to the project or projects to add to the solution. Glob patterns are supported on Unix/Linux-based systems. |
settings |
DotNetSlnAddSettings |
The settings. |
Return Value