Enable Nuget Package Restore

Enable Nuget Package Restore

To enable Nuget Package Restore, first check if package restore is enabled from the visual studio options.

Allow Nuget to download missing packages

Open visual studio and follow the steps given below:

Tools / Options / NuGet Package Manager / Allow NuGet to download missing packages

Lastly check the checkbox for "Allow NuGet to download missing packages" as shown in the following image.

Nuget package manager options

If it is already enabled open Nuget Package Manager console:

Tools / NuGet Package Manager / Package Manager Console

Run the command

Install-Package NuGetEnablePackageRestore

You may get the result

NuGet Enable Package Restore Fix
To fix package restore:
1. Please enable package restore in Visual Studio FIRST.
2. Run the command: Install-NuGetEnablePackageRestoreFix 
3. Restart Visual Studio.

This should fix that pesky broken build you are experiencing.

Then, just run the command 


and restart Visual Studio.

Enable Nuget Package Restore
added 9 years 10 months ago

- How to POST and GET url with parameters in C#?
- Open a text file and read line by line in C#
- Convert.ToInt32() vs Int32.Parse() in C#
- How to C# Linq Group By by paramater/field names
- Simple Injector
- How to check memory consumption in c#
- How can I implement C/C++ "union" in C#?
- How to Open and Read From Excel File in C#
- Weak References
- Lazy Initialization
- Enable Nuget Package Restore
- OnixS FIX Engine
- Rapid Addition FIX API
- How to change DateTime format in C#
- How to change number decimal seperator in C#?