diff --git a/win/build-deps.cmd b/win/build-deps.cmd index b4f4afec1a..5042645ce2 100644 --- a/win/build-deps.cmd +++ b/win/build-deps.cmd @@ -210,6 +210,7 @@ set NUGET_EXE=%NUGET_INSTALL_DIR%\nuget.exe where nuget >nul 2>&1 IF %ERRORLEVEL%==0 ( echo Found existing nuget in PATH. Skipping. + for /f "delims=" %%i in ('where nuget') do set "NUGET_EXE=%%i" goto :ccache )