Merge pull request #14694 from dotnet/marcpopMSFT-addroottoscript

Add dotnet root to the env script
This commit is contained in:
Marc Paine 2022-11-08 10:26:40 -08:00 committed by GitHub
commit 6370b56ac2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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