DotNetSlnLister.

List(FilePath, DotNetSlnListSettings) Method

Summary

Lists all projects in a solution file.

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 DotNetSlnListSettings The settings.

Return Value

Type Description
IEnumerable<string> The list of project-to-project references.