NET Framework (non-SDK-style project only), use the nuget.exe CLI tool. This CLI is required for the SDK-style project format, which uses the SDK attribute. NET Standard, use the dotnet SDK CLI tool. For a feature comparison of the tools, see the feature availability section. The nuget.exe CLI must be installed separately as described earlier. The dotnet CLI is installed with some Visual Studio workloads, such as. You can use either the dotnet CLI or the nuget.exe CLI to support NuGet features in the Visual Studio IDE. On Windows, Mac, and Linux, NuGet capabilities are available through marketplace extensions, or use the dotnet SDK or nuget.exe CLI tools.įor earlier versions of Visual Studio, you can download NuGet extensions at. For other capabilities, use the dotnet SDK or nuget.exe CLI tools. Package Manager Console isn't currently available. On Mac, certain NuGet capabilities are built in directly. You can use these tools to run most NuGet operations. Visual Studio provides the Package Manager UI and the Package Manager Console (PowerShell on Windows). On Windows, the NuGet Package Manager is included with Visual Studio 2012 and later. This CLI tool provides all NuGet capabilities on Windows and most features on Mac and Linux when running under Mono. NET Framework libraries and for any non-SDK-style project such as one that targets. In Visual Studio 2017 and later, the dotnet CLI is automatically installed with any. NET Core SDK and provides core NuGet features on all platforms. NET Standard libraries, and for any SDK-style project such as one that targets the. Create and publish a NET Standard package (Visual Studio on Windows).Create and publish a NET Standard package (dotnet CLI).To get started creating NuGet packages, see these articles: Install and use a package (Visual Studio on Windows).To get started using NuGet to consume packages, see the following articles: This article briefly outlines the capabilities of the different tools, how to install them, and their comparative feature availability. To work with NuGet as a package consumer or creator, you can use command-line interface (CLI) tools and NuGet features in Visual Studio. Looking to install a package? See Ways to install NuGet packages.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |