With the creation of the NuGet project, a package management solution for .NET developers has become available. Similar to Apache Maven dependency management for Java developers, NuGet makes it easy to add, remove, and update libraries and tools in Visual Studio projects that use the .NET Framework.
The project websites at www.nuget.org and https://github.com/NuGet/Home host tool downloads and detailed documentation as well as links to further resources and provide a repository and features to upload your open source NuGet packages. With the NuGet Gallery a repository of open source libraries and tools is available and the need for repository management arises.
With the release of version 2.9, NuGet support is available in Nexus Repository Manager and Nexus Repository Manager OSS.
Nexus Repository Manager and Nexus Repository Manager OSS support the NuGet repository format for hosted and proxy repositories. They also supports
aggregation of NuGet repositories and conversion of other repositories containing
.nupkg components to the NuGet
format. This allows you to improve collaboration and control, while speeding up .NET development, facilitating
open source libraries and sharing of internal component across teams. When you standardize on a single repository
for all your development and use it for internal components as well, you will get all the benefits of using a
repository manager when working in the .NET architecture.
To share a library or tool with NuGet, you create a NuGet package and store it in the repository manager-based NuGet repository. Similarly, you can use packages others have created and made available in their NuGet repositories by proxying them or downloading the packages and installing them in your own hosted repository for third party packages.
Users can enable Repository Health Check on a repository using the NuGet format to retrieve all metadata from components in the repository, such as security and license. See Chapter 12, Repository Health Check for details.
The NuGet Visual Studio extension allows you to download the package from the repository and install it in your Visual Studio project or solution. NuGet copies everything and makes any required changes to your project setup and configuration files. Removing a package will clean up any changes as required.
Using NuGet repositories benefits from a larger memory size available to the repository manager. This memory
allocation can be configured in