I assumed %ERRORLEVEL% would be non-zero i开发者_如何学JAVAf the build failed, but that is not the case.
The folks over at the open source BlueCove project have a batch file that checks the error level of vcbuild. It basically goes like this :
- Make shure
vcvars32.batwas called vcbuild /u /rebuild myproject.sln "%CONFIGURATION%|Win32"@if errorlevel 1 goto errormark
If it doesn't help you, please update your question with the batch file that gives you trouble. Maybe your out of luck and a batch file named vcbuild.bat is called before the real vcbuild.exe ?
加载中,请稍侯......
精彩评论