asp.net core - What is NuGet.CommandLine packagerererence good for? -


in *.csproj of aspnetcore app see:

 <packagereference include="nuget.commandline" version="4.1.0" /> 

what for?

if environment hadn't nuget cli wouldn't able restore package. when have don't need package, i?

what for?

tldr, bringing nuget capabilies linux , mac.

according docs:

the nuget cli command-line utility windows provides nuget capabilities; can run on mac osx , linux using mono, or through .net core cli (dotnet).

so cross-platform command-line version of nuget package manager in visual studio, windows only. if using visual studio in window don't need it, can use built-in nuget package manager. if want use nuget capabilities in linux or mac, or have visual studio code in windows (without visual studio 2017) need package.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -