How to get path of NuGet.exe from within msbuild script? Andrei F. Created December 29, 2015 08:03 How can I get a path of NuGet.exe from within msbuild script, so I can run it from this script? (I need this to pack my application files using NuGet)
Hi Andrei,
The path to NuGet.exe is stored in %teamcity.tool.NuGet.CommandLine.2.2.1.nupkg% parameter, the full path is %teamcity.tool.NuGet.CommandLine.2.2.1.nupkg%\tools\NuGet.exe.
Thanks.