Ankush Bindra
Ankush Bindra

Reputation: 433

Add nuget package into project file without Visual Studio

I am looking for solution to add/update new nuget packages to exiting project file .csproj but without Visual Studio. I gone this post here it download package it on local machine. But we want same process that Visual Studio do

  1. Download dll
  2. Add reference in project file
  3. update package.config file

Is it possible that I can achieve this outside Visual Studio?

Upvotes: 1

Views: 827

Answers (1)

andreask
andreask

Reputation: 4298

This should be possible using Nuget.exe and the install-package etc. Powershell cmdlets. See the blog post Installing NuGet Packages outside of Visual Studio for details!

Upvotes: 1

Related Questions