Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

C# Console Application - Waiting For MsBuild to Complete before moving to next line

$
0
0
I am running a console application to (1) checkout code from svn, (2) then run an MSBuild command, and finally (3) search for a dll.  (Step 4 is to run a test with a MsTest Command based from that dll, but don't need help there).  For steps 2 and 3 I need to wait until the previous step completes.  What would be the best/most elegant way to wait for the svn checkout to complete and the msbuild script to complete before the code continues?  Somewhat obviously, the code executes as fast as it can, so the steps after the search for the dll appear during the the msbuild script running.  I am trying to avoid using anything to do with a timer and need help doing it the "right way".  Thanks for any help!

Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>