| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Program Files (x86)/Microsoft Visual Studio/18/BuildTools/Common7/Tools/vsdevcmd/core/ |
Upload File : |
if "%VSCMD_DEBUG%" GEQ "1" @echo [DEBUG:core\%~nx0] initializing...
set __VSCMD_msbuild_failcount=0
if "%VSCMD_TEST%" NEQ "" goto :test
if "%VSCMD_ARG_CLEAN_ENV%" NEQ "" goto :clean_env
@REM Add path to MSBuild Binaries
if exist "%VSINSTALLDIR%\MSBuild\Current\Bin" (
if "%PROCESSOR_ARCHITECTURE%" == "ARM64" (
set "PATH=%VSINSTALLDIR%\MSBuild\Current\Bin\arm64;%PATH%"
) else (
set "PATH=%VSINSTALLDIR%\MSBuild\Current\Bin\amd64;%PATH%"
)
) else (
set /A __VSCMD_msbuild_failcount=__VSCMD_msbuild_failcount+1
)
goto :end
:clean_env
@REM This script depends on vsdevcmd.bat to restore PATH.
goto :end
:test
setlocal
@echo [TEST:%~nx0] checking for msbuild.exe...
where msbuild.exe 2>&1 > NUL
if "%ERRORLEVEL%" NEQ "0" (
@echo [ERROR:%~nx0] Test 'where msbuild.exe' failed.
set /A __VSCMD_msbuild_failcount=__VSCMD_msbuild_failcount+1
) else (
if "%VSCMD_DEBUG%" GEQ "1" echo [DEBUG:%~nx0] msbuild.exe found successfully
)
endlocal & set __VSCMD_msbuild_failcount=%__VSCMD_msbuild_failcount%
goto :end
:end
if "%__VSCMD_msbuild_failcount%" NEQ "0" (
set __VSCMD_msbuild_failcount=
exit /B 1
)
set __VSCMD_msbuild_failcount=
exit /B 0