dotnet sln remove
dotnet sln remove --help
eg@debian:~$ dotnet sln remove --help
Description:
Remove one or more projects from a solution file.
Usage:
dotnet sln <SLN_FILE> remove [<PROJECT_PATH>...] [options]
Arguments:
<SLN_FILE> The solution file to operate on. If not specified, the command will search the current directory for one. [default: /home/eg/]
<PROJECT_PATH> The paths to the projects to remove from the solution.
Options:
-?, -h, --help Show command line help.
dotnet sln <solution_file_path> remove <project_file_path>
eg@debian:~$ dotnet sln ./Data/DotnetCliExamples/ExampleSolution/ExampleSolution.sln remove ./Data/DotnetCliExamples/ExampleSolution/ExampleSolution.ConsoleApp1/ExampleSolution.ConsoleApp1.csproj
Project `ExampleSolution.ConsoleApp1/ExampleSolution.ConsoleApp1.csproj` removed from the solution.
Last updated