简体   繁体   中英

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?

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM