Sometime when using NuGet packages, it may need additional packages as a reference. During installation of the main package, if it’s unable to install the dependent packages, Visual Studio 2015 allows you to auto download missing packages.

 

In this small blog post, we will learn how to enable this settings to retrieve the missing packages in various conditions. Continue reading to know more.

 

How to allow NuGet to download missing packages in Visual Studio 2015 IDE (www.kunal-chowdhury.com)

 

The latest version of Visual Studio 2015 allows NuGet to download missing packages. This can be triggered during build, based on dependent modules. If this does not work on your system, it might be because the required settings is disabled.

 

To enable it, open the Visual Studio settings page from Tools –> Options and from the left navigation pane, select NuGet Package Manager –> General.

 

Now in the right side panel, you will find two checkboxes labelled “Allow NuGet to download missing packages” and “Automatically check for missing packages during build in Visual Studio”. To enable this feature, check both the said checkboxes as shown in the below screenshot:

 

How to allow NuGet to download missing packages in Visual Studio 2015 (www.kunal-chowdhury.com)

 

If you want to disable this feature, just go this page and uncheck both the mentioned checkboxes. Hope the post was clear and to the point for you to easily understand. If you face any issue, do let me know in the below comments section and I will try to revert you as soon as possible.

 

 

Have a question? Or, a comment? Let's Discuss it below...

dhgate

Thank you for visiting our website!

We value your engagement and would love to hear your thoughts. Don't forget to leave a comment below to share your feedback, opinions, or questions.

We believe in fostering an interactive and inclusive community, and your comments play a crucial role in creating that environment.