Installing NuGet through Visual Studio
Download and install NuGet directly
Installing NuGet through Visual Studio
- Open Visual Studio Extension Manager
2. Select the Library and write to NuGet in the search, then click Download from NuGet Package Manager in the search results
3. When the download is complete, the Terms window appears, click "Install" to
Restart Visual Studio after installation is successful
When we restart the VisualStudio, we can find the NuGet in the "Installed extensions" item again when we open the Extension manager again.
Download and install NuGet directly
To access http://nuget.org/, click Install nuget to download the VSIX file.
Referencing components through the NuGet Manager
Right-click on the node referenced in the project or project and select "Manage NuGet Packages"
The NuGet management interface then appears
Sidebar name |
Role |
Installed packages |
is a list of previously installed components |
Online |
is to find the list of components on the NuGet server online |
Updates |
Already referenced, but a new version of the update list is already available on the NuGet server |
Recent Packages |
List of recently referenced components |
If we want to use which component, just click the install installation on the right side of the respective component
referencing components via PowerShell console
Start the package Manager Console
If you want to get a list, you can enter get-package-listavailable
If you want to add a reference, use the following command format
Install-package Component Name
removing components
Uninstall-package Component Name
Upgrade components
Update-package Component Name
"Tools recommended" Nuget tool--Manage your bags