Where does Visual Studio keep it's own copy of nuget.exe?

后端 未结 1 1956
耶瑟儿~
耶瑟儿~ 2021-01-18 17:36

I\'d like to know where Visual Studio keeps it\'s copy of nuget.exe so that I can use that path in a custom msbuild target I\'m planning to do.

Some time ago, NuGet

相关标签:
1条回答
  • 2021-01-18 18:04

    I'd like to know where Visual Studio keeps it's copy of nuget.exe

    It doesn't have one. Nuget is an add-in, just DLLs. On my machine it is stored in the C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\clzwekqw.krr directory. The "clzwekqw.krr" part of the directory name is not going to repeat from one machine to the next, it was dynamically created. A basic mechanism to avoid having add-ins step on each other's toes.

    You can get Nuget.exe, it is available through Nuget :) Obtain the Nuget.CommandLine package, the current version's project page is here. It will be installed as usual, in a subdirectory of your project. Currently packages\NuGet.CommandLine.2.8.3\tools, just the .exe

    0 讨论(0)
提交回复
热议问题