问题
Visual Studio 2017 comes with Nuget 4.0.0. However, it's not placed on the path. Where can I find the nuget executable to use the CLI?
回答1:
Visual Studio 2017 doesn't use NuGet.exe
but instead uses an extension of NuGet to achieve this. You should be able to find the extension in this path:
C:\Program Files (x86)\Microsoft Visual Studio\2017\
<VSEdition>
\Common7\IDE\CommonExtensions\Microsoft\NuGet
... where <VSEdition>
is the version of Visual Studio being used, for example Community
or Enterprise
.
If you want to use the CLI, you'll have to download it separately. Here is a link explaining the same.
来源:https://stackoverflow.com/questions/43087459/where-is-nuget-4-installed