Summary
Lists all projects in a solution file.
- Namespace
- Cake
.Common .Tools .DotNet .Sln .List - Containing Type
- DotNetSlnLister
Syntax
public IEnumerable<string> List(FilePath solution, DotNetSlnListSettings settings)
Parameters
Name | Type | Description |
---|---|---|
solution | FilePath | The solution file to use. If not specified, the command searches the current directory for one. If it finds no solution file or multiple solution files, the command fails. |
settings | Dot |
The settings. |
Return Value
Type | Description |
---|---|
IEnumerable |
The list of project-to-project references. |