mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-19 18:11:39 -05:00
Prepend path to nuget in repo (#18005)
This PR makes it so the path to nuget in this repo is prepended. This will make it so the local `nuget.exe` is prioritised before looking for nuget in `PATH`. ## Validation Steps Performed Run `razzle.cmd`, the local instance of nuget is utilised. Delete `nuget.exe`, `razzle.cmd` uses `nuget.exe` specificed in the `PATH`. Closes #1111
This commit is contained in:
@@ -18,7 +18,7 @@ rem The opencon root is at ...\open\tools\, without the last 7 chars ('\tools\')
|
||||
set OPENCON=%OPENCON_TOOLS:~0,-7%
|
||||
|
||||
rem Add nuget to PATH
|
||||
set PATH=%PATH%%OPENCON%\dep\nuget;
|
||||
set PATH=%OPENCON%\dep\nuget;%PATH%
|
||||
|
||||
rem Run nuget restore so you can use vswhere
|
||||
nuget restore %OPENCON%\OpenConsole.sln -Verbosity quiet
|
||||
|
||||
Reference in New Issue
Block a user