diff --git a/build.bat b/build.bat index 19835dc..e9c7869 100644 --- a/build.bat +++ b/build.bat @@ -34,11 +34,10 @@ if "!QT6_PATH!"=="" ( ) echo Qt6: !QT6_PATH! -echo .NET: - dotnet --version +for /f "tokens=*" %%V in ('dotnet --version') do echo .NET: %%V dotnet build server\CommonwealthOnline.Server.csproj -c Release --nologo || exit /b 1 -dotnet run --project server\tests\CommonwealthOnline.Server.Tests.csproj -c Release --no-restore || exit /b 1 +dotnet run --project server\tests\CommonwealthOnline.Server.Tests.csproj -c Release || exit /b 1 if not exist build mkdir build pushd build @@ -49,7 +48,7 @@ popd echo. echo ================================================================================ echo Build successful - echo ================================================================================ +echo ================================================================================ echo Host GUI: build\bin\Release\CommonwealthOnlineHost.exe echo CMake also published and staged the self-contained C# server beside the host. echo Python is not required.