@echo off
echo NT8 SDK Build Verification
echo =========================

echo.
echo Cleaning previous builds...
dotnet clean --verbosity quiet

echo.
echo Restoring packages...
dotnet restore
if %ERRORLEVEL% neq 0 (
    echo ❌ Package restore failed
    exit /b 1
)

echo.
echo Building solution...
dotnet build --no-restore --configuration Release
if %ERRORLEVEL% neq 0 (
    echo ❌ Build failed
    exit /b 1
)

echo.
echo Running tests...
dotnet test --no-build --configuration Release --verbosity minimal
if %ERRORLEVEL% neq 0 (
    echo ❌ Tests failed
    exit /b 1
)

echo.
echo ✅ All checks passed!
echo Build is ready for NT8 integration
pause