Top "Nuget-package-restore" questions

Nuget Package Restore is a process that happens when a Visual Studio solution is loaded and some Nuget Packages are missing.

MSBuild restore target - MSB4057: The target "restore" does not exist in the project

We have over 20 solutions in our main product portfolio (over 880 projects), and we have a complex set of build scripts …

c# msbuild nuget-package-restore .net-4.6.2 msbuild-target
Local source of nuget packages doesn't exist

After opened the project in another computer and run it on VS Code, the following problem occurred: C:\Program Files\…

visual-studio-code nuget nuget-package-restore
What is the EnsureNuGetPackageBuildImports target?

In some of my csproj files I have this but some dont: <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> <…

visual-studio visual-studio-2013 nuget nuget-package nuget-package-restore
How to specify private nuget package source in msbuild 15.0 command line?

Is it possible to specify private nuget feed server while using msbuild 15.0 in vs 2017? The current powershell command I am …

.net msbuild visual-studio-2017 nuget nuget-package-restore
Not using package restore, but still getting "must install nuget package Microsoft.Bcl.Build"

I'm working on a project that uses nuget but does not use package restore. (This is a decision outside of …

visual-studio nuget nuget-package-restore
Is there an easy way to automatically create a NuGet package from a Visual Studio 2015 project?

Before Visual Studio 2015, it was trivial to setup your project to automatically generate NuGet packages. Specifically, you did: Add a .…

msbuild visual-studio-2015 nuget nuget-package-restore
How can 'nuget restore' download pre-release packages?

We are faced with an issue in our build environment where we would like for our continuous integration builds to …

c# nuget build-process nuget-package nuget-package-restore
package.config update does not update the references

I have multiple projects referencing the same NuGet Package. When I got latest code, I realized that one of the …

c# dll nuget nuget-package nuget-package-restore
NuGet Package restore IS enabled but I get an error saying it's not enabled

I have nuget package restore enabled in my solution. However, when I try to build the project, I get this …

visual-studio nuget visual-studio-2013 nuget-package-restore
Confirm that the <UsingTask> declaration is correct

We have downloaded a project from TFS and after restoring Nuget packages we are getting below error: Error 5 The "ValidatePackageReferences" …

build msbuild msbuild-task nuget-package-restore