16.4. NuGet Virtual Repositories

If you have deployed NuGet packages to a Maven repository in the past, you can expose them to Visual Studio by creating a virtual repository as documented in Section 6.2, “Managing Repositories” and setting the Provider to NuGet. The setup displayed in Figure 16.5, “A Virtual NuGet Repository for the Releases Repository” shows a virtual repository configured to expose the content of the regular Maven Releases repository as a NuGet repository, so that NuGet can access any NuGet packages deployed to the releases repository.


Figure 16.5. A Virtual NuGet Repository for the Releases Repository

The NuGet feed is immediately updated as packages are deployed or deleted from the shadowed repository. To rebuild the feed for a virtual NuGet repository, you can manually schedule a Synchronize Shadow Repository task.