Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 25197f4

Browse files
Add a short delay after launching mspdbsrv
As far as can be determined, our build server is too fast (!) and starts msbuild before mspdbsrv is ready. To avoid this, we need a short delay before starting it. Unfortunately, there's no build-in batch command for sleeping so we do the next-best thing and run a command with an internal delay; ping is as good as anything else...
1 parent 83ba6f1 commit 25197f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

make.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
@REM
1010
@start /min /b mspdbsrv -start -spawn -shutdowntime -1
1111

12+
@REM A short time-out to make sure mspdbsrv is running
13+
@ping -n 2 localhost >NUL
14+
1215
@REM Select the correct build mode.
1316
@REM
1417
@IF NOT DEFINED BUILDTYPE SET BUILDTYPE=Debug

0 commit comments

Comments
 (0)