@echo off
::变量设置
set sln_path=d:\test.sln
set nuget="C:\Program Files\Mono\lib\mono\nuget\nuget.exe"
set msbuild="C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe"
::nuget
%nuget% restore %sln_path%
::msbuild
%msbuild% %sln_path% /p:Configuration=Debug /p:Platform=x86 /t:Rebuild