@echo off echo Building Backend... "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" "HMIWeb.sln" /t:Build /p:Configuration=Debug if %ERRORLEVEL% NEQ 0 ( echo Build Failed! pause exit /b %ERRORLEVEL% ) echo Build Success! pause