diff --git a/docs/csharp/package-management.md b/docs/csharp/package-management.md index 83a9068853..c8313e5866 100644 --- a/docs/csharp/package-management.md +++ b/docs/csharp/package-management.md @@ -10,14 +10,24 @@ MetaDescription: C# package management with NuGet in Visual Studio Code # NuGet in Visual Studio Code -NuGet is the package manager for .NET. It defines how packages for .NET are created, hosted, and consumed, and provides the tools for each of those functions. NuGet also manages the dependency tree on behalf of a project, so you only need to focus on the packages that you're directly using in a project. In Visual Studio Code, you can manage your NuGet packages either directly from the C# Dev Kit Solution explorer, or by using the Command Palette. To learn more about NuGet, go to the [NuGet documentation](https://learn.microsoft.com/nuget/what-is-nuget). +NuGet is the package manager for .NET. It defines how packages for .NET are created, hosted, and consumed, while providing the tools for each of those functions. NuGet also manages the dependency tree on behalf of a project, so you only need to focus on the packages that you're directly using in a project. + +In Visual Studio Code, you can manage your NuGet packages either directly from the C# Dev Kit Solution explorer, or by using the Command Palette. * [NuGet Commands in C# Dev Kit](#nuget-commands-in-c-dev-kit) * [Dependency Management](#dependency-management) +To learn more about NuGet, go to the [NuGet documentation](https://learn.microsoft.com/nuget/what-is-nuget). + ## NuGet commands in C# Dev Kit -In C# Dev Kit, you can perform NuGet package operations in either of two ways: by using the Command Palette (`kb(workbench.action.showCommands)`) or by right-clicking in the C# Dev Kit Solution explorer. The following sections describe how to use each NuGet command through both of the two methods. +In C# Dev Kit, you can perform NuGet package operations in one of two ways: + +* Using the Command Palette (`kb(workbench.action.showCommands)`) + +* Right-clicking in the C# Dev Kit Solution explorer + +The following sections describe how to use each NuGet command, using both of these two methods. ### Add a package @@ -79,6 +89,8 @@ For projects that use ``, you can see the package references i ![Package references in the Solution Explorer](images/package-management/package-references-solution-explorer.png) -Packages that don't install properly when a restore happens or you run a build will show error icons in **Solution Explorer**. +Packages that don't install properly when a restore happens or when you run a build, will show error icons in **Solution Explorer**. + +**Note**: At this time, you cannot right-click on projects to manage your NuGet packages and there is not a NuGet Package Manager user interface in Visual Studio Code. -**Note**: At this time, you cannot right-click on projects to manage your NuGet packages and there is not a NuGet Package Manager user interface in Visual Studio Code. For more information on managing packages, see [Install and manage NuGet packages with the dotnet CLI](https://learn.microsoft.com/nuget/consume-packages/install-use-packages-dotnet-cli). +For more information on managing packages, see [Install and manage NuGet packages with the dotnet CLI](https://learn.microsoft.com/nuget/consume-packages/install-use-packages-dotnet-cli).