Introduction
Most of the .NET developers used nuget packages from Microsoft's nuget package repository which is set as default for the Visual Studios. But sometimes we need to create our own custom nuget packages when we need to manage large applications. Again many .NET developers used nuget packages from third party package repository like MyGet package repository. Recently Microsoft also hosted some of their nuget packages there like .NET Core library, Entity Framework 7 etc in there. So in that case we need to add those package repository at our Visual Studio to use them in our applications. You can configure both file system(local and network) or web repository to get nuget packages. In this tutorial I would like show the process of adding nuget package repository.Prerequisite
In this tutorial I have used Visual Studio 2015 and Nuget Package Manager to show the process. But the steps should be same for other Visual Studios also.Steps
- Go to Tools>Nuget Package Manager>Package Manager Settings. This will open the option window for the visual studio.
- From the option window expand Nuget Package Manager option and select Package Sources. This will option will show the available package sources form where Visual Studio will get the nuget packages. Click the Add button "+".