Files
DanMuRead/BarrageGrab/BUILD.bat
T
2026-08-04 00:10:33 +08:00

33 lines
902 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
REM JiaKong 配置编辑器编译脚本
REM 在 VS 中打开 WssBarrageService.csproj 编译即可
REM 或者双击此脚本(需要安装 Visual Studio 2022)
echo 正在查找 MSBuild...
REM VS 2022 MSBuild 路径
set MSBUILD="C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe"
if not exist %MSBUILD% (
set MSBUILD="C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe"
)
if not exist %MSBUILD% (
echo 未找到 MSBuild.exe,请在 Visual Studio 中打开项目并编译。
pause
exit /b 1
)
echo 正在编译 WssBarrageService...
%MSBUILD% WssBarrageService.csproj /t:Build /p:Configuration=Debug /nologo
if %ERRORLEVEL% EQU 0 (
echo.
echo 编译成功!
echo 输出: bin\Debug\WssBarrageServer.exe
) else (
echo.
echo 编译失败,请检查错误信息。
)
pause