From 35eae1d9f29454446b2d766722917df9d117ee42 Mon Sep 17 00:00:00 2001 From: Andrew Hall Date: Wed, 2 Sep 2020 15:47:14 -0700 Subject: [PATCH] Add -NoProfile on restore.cmd call to powershell --- restore.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore.cmd b/restore.cmd index b7a088ede..bd639ea10 100644 --- a/restore.cmd +++ b/restore.cmd @@ -1,3 +1,3 @@ @echo off -powershell -ExecutionPolicy ByPass -command "& """%~dp0eng\common\Build.ps1""" -restore %*" +powershell -NoProfile -ExecutionPolicy ByPass -command "& """%~dp0eng\common\Build.ps1""" -restore %*" exit /b %ErrorLevel% \ No newline at end of file