Is it possible to use nuget to install multiple packages at once? That is, both download all nuget packages listed in packages.config
and add the packages to the .csproj
file.
What I do now is to use the NuGet Package Manager in Visual Studio and install each package one by one, but is there an easier way?
EDIT: This question is not solved by How do I get NuGet to install/update all the packages in the packages.config? as it only downloads and installes the packages to the packages
directory, and does not change the project files.
If I run
nuget install packages.config
It will install all packages in the packages.config
file, but not update the project file.
Could you try to run this from the package manager console in Visual Studio:
Update-Package –reinstall
That should fix missing assembly references in your *.csproj
files, if the packages are already in your packages.config
.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments