We are planning to build the solution through cmd using msbuild. The project solution (.sln
) have the nuget reference. We are getting the error while building the project sln. like nuget error.
Restoring NuGet packages... To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'. C:\Program Files (x86).nuget\nuget.targets(89,9): error : Unable to find version '3.0.0.0' of package X'.
How to restore the nugets while building the solution?