Set DOTNET_ROOT appropriately in internal build Init.cmd (#993)
This commit is contained in:
parent
d0f21a0bde
commit
1763e0dc07
1 changed files with 11 additions and 0 deletions
|
@ -3,3 +3,14 @@
|
|||
set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
|
||||
set DOTNET_MULTILEVEL_LOOKUP=0
|
||||
set PATH=%~dp0;%PATH%
|
||||
|
||||
if not "%PROCESSOR_ARCHITECTURE%"=="x86" goto :SetDotnetRoot_Wow
|
||||
if not "%PROCESSOR_ARCHITEW6432%"== "" goto :SetDotnetRoot_Wow
|
||||
|
||||
:SetDotnetRoot
|
||||
set DOTNET_ROOT=%~dp0
|
||||
goto :eof
|
||||
|
||||
:SetDotnetRoot_Wow
|
||||
set DOTNET_ROOT(x86)=%~dp0
|
||||
goto :eof
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue