Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/core/tools/dotnet-sln.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: dotnet sln command - .NET Core CLI
description: The dotnet-sln command provides a convenient option to add, remove, and list projects in a solution file.
author: mairaw
ms.author: mairaw
ms.date: 05/29/2018
ms.date: 06/13/2018
---
# dotnet sln

Expand All @@ -28,6 +28,12 @@ dotnet sln [-h|--help]

The `dotnet sln` command provides a convenient way to add, remove, and list projects in a solution file.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: "you need to have a solution file already" -> the solution file must already exist

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes it sooo much better. Thanks @rpetrusha!

To use the `dotnet sln` command, the solution file must already exist. If you need to create one, use the [dotnet new](dotnet-new.md) command, like in the following example:

```
dotnet new sln
```

## Commands

`add <PROJECT> ...`
Expand Down