浏览代码

besseres build script

Kolja Strohm 5 年之前
父节点
当前提交
be05bd5e68
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      build.bat

+ 2 - 2
build.bat

@@ -1,12 +1,12 @@
 :DebugLinux64
 SET RETURN=DebugLinux64
 SET NEXT=ReleaseLinux64
-"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "Shop Server.sln" /t:rebuild /p:configuration=debug /p:platform=x64
+"%InstallDir%\%MSBuildExe%" "Shop Server.sln" /t:rebuild /p:configuration=debug /p:platform=x64
 if errorlevel 1 GOTO Error
 :ReleaseLinux64
 SET RETURN=ReleaseLinux64
 SET NEXT=End
-"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "Shop Server.sln" /t:rebuild /p:configuration=release /p:platform=x64
+"%InstallDir%\%MSBuildExe%" "Shop Server.sln" /t:rebuild /p:configuration=release /p:platform=x64
 if errorlevel 1 GOTO Error
 GOTO End
 :Error