@echo off setlocal cd /d "%~dp0.." dotnet restore src\IMSApiDotNet\IMSApiDotNet.Net48.csproj if errorlevel 1 exit /b %errorlevel% dotnet build src\IMSApiDotNet\IMSApiDotNet.Net48.csproj -c Release --no-restore exit /b %errorlevel%