Initial commit
This commit is contained in:
33
build.bat
Normal file
33
build.bat
Normal file
@@ -0,0 +1,33 @@
|
||||
@echo off
|
||||
echo === QEMU VM Manager Build Script ===
|
||||
|
||||
REM Check if .NET is available
|
||||
dotnet --version >nul 2>&1
|
||||
if %errorlevel% neq 0 (
|
||||
echo Error: .NET is not available or not properly installed.
|
||||
echo Please install .NET 8.0 SDK from: https://dotnet.microsoft.com/download
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Cleaning previous builds...
|
||||
dotnet clean
|
||||
|
||||
echo Restoring packages...
|
||||
dotnet restore
|
||||
|
||||
echo Building solution...
|
||||
dotnet build --configuration Release
|
||||
|
||||
if %errorlevel% equ 0 (
|
||||
echo Build completed successfully!
|
||||
echo.
|
||||
echo To run the application:
|
||||
echo dotnet run --project QemuVmManager.Console
|
||||
) else (
|
||||
echo Build failed!
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
pause
|
Reference in New Issue
Block a user