DotNetSlnRemover.

Remove(FilePath, IEnumerable<FilePath>, DotNetSlnRemoveSettings) Method

Summary

Removes a project or multiple projects from the solution file.

Syntax

public void Remove(FilePath solution, IEnumerable<FilePath> projectPath, DotNetSlnRemoveSettings 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 remove from the solution.
settings DotNetSlnRemoveSettings The settings.

Return Value

Type Description
void