问题
I'm using Visual Studo 2015 and I have Package Manager Console where I can run like
PM> Install-Package Newtonsoft.Json
Visual Studio seems to come with nuget, but what is the location of nuget.exe?
Or Package Manager Console doesn't use nuget.exe?
回答1:
Visual Studio 2015 uses various NuGet assemblies but it does not itself include NuGet.exe.
NuGet.exe can be downloaded from the NuGet web site:
https://www.nuget.org/downloads
回答2:
If you are looking for nuget.exe (to run it from command line); I found it in the solution folder! I use VS2017. Under the solution folder is a folder ".nuget". This has nuget.exe.
来源:https://stackoverflow.com/questions/46349547/where-is-nuget-exe