Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (23 sloc) 1.13 KB
ECHO: & ECHO Start %~nx0 & ECHO:
@REM The workaround for building .vdproj by DevEnv for the following error:
@REM Visual Studio has encountered an unexpected error.------ Starting pre-build validation for project 'Setup1' ------
@REM ERROR: An error occurred while validating. HRESULT = '8000000A'
SET current_path="%CD%"
REM Bug! The DisableOutOfProcBuild.exe doesn't work if the current directory of CMD doesn't set to the installation location of DisableOutOfProcBuild.exe.
ECHO Seting the current path to the DisableOutOfProcBuild.exe installation folder.
CD "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\VSI\DisableOutOfProcBuild"
CALL DisableOutOfProcBuild.exe
IF [%env_qUtil%] NEQ [] (
CALL %env_qUtil%\exit_if_error
ECHO: & ECHO Revert the previous current directory.
CD %current_path%
ECHO CD is set to %CD%
@ECHO End %~nx0 & ECHO:
You can’t perform that action at this time.