Fix C# test restore in Windows build

This commit is contained in:
Nomads_Reach
2026-08-16 02:38:52 -04:00
parent 377fe2754b
commit 55b9c178b3
+3 -4
View File
@@ -34,11 +34,10 @@ if "!QT6_PATH!"=="" (
) )
echo Qt6: !QT6_PATH! echo Qt6: !QT6_PATH!
echo .NET: for /f "tokens=*" %%V in ('dotnet --version') do echo .NET: %%V
dotnet --version
dotnet build server\CommonwealthOnline.Server.csproj -c Release --nologo || exit /b 1 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 if not exist build mkdir build
pushd build pushd build
@@ -49,7 +48,7 @@ popd
echo. echo.
echo ================================================================================ echo ================================================================================
echo Build successful echo Build successful
echo ================================================================================ echo ================================================================================
echo Host GUI: build\bin\Release\CommonwealthOnlineHost.exe echo Host GUI: build\bin\Release\CommonwealthOnlineHost.exe
echo CMake also published and staged the self-contained C# server beside the host. echo CMake also published and staged the self-contained C# server beside the host.
echo Python is not required. echo Python is not required.