From b9aea1bfb16a1bf8cab71abaf331b9b8f10f238f Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Fri, 7 Oct 2022 13:17:32 -0700 Subject: [PATCH] Add dotnet root to the env script as tests we're running correctly in the IDE otherwise --- eng/restore-toolset.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eng/restore-toolset.ps1 b/eng/restore-toolset.ps1 index 94cbcbb6e..893a96111 100644 --- a/eng/restore-toolset.ps1 +++ b/eng/restore-toolset.ps1 @@ -29,6 +29,8 @@ set DOTNET_MULTILEVEL_LOOKUP=0 set PATH=$env:DOTNET_INSTALL_DIR;%PATH% set NUGET_PACKAGES=$env:NUGET_PACKAGES + +set DOTNET_ROOT=$env:DOTNET_INSTALL_DIR "@ Out-File -FilePath $scriptPath -InputObject $scriptContents -Encoding ASCII