For more information, see Package consumption overview and workflow. When you install a package, NuGet records the dependency in either your project file or a nfig file (depending on the project format). To install the package, you use the NuGet Package Manager. Visual Studio creates the project, which opens in Solution Explorer. Accept the default values for Target Framework when prompted. NET Core > App > Console Application template. Create a project in Visual Studio for Mac using File > New Solution., select the. NET project, provided that the package supports the same target framework as the project.įor this walkthrough, use a simple. NuGet packages can be installed into any. If you're using Visual Studio on Windows, see Install and use a package in Visual Studio (Windows Only). You can install the 2019 Community edition for free from or use the Professional or Enterprise editions.
For general information, see Find and evaluate NuGet packages. You can search directly or find and install packages within Visual Studio as shown in this article. NET developers typically find components they can reuse in their own applications.