Ewl » Canonical The canonical version of EWL Read More
Clone URL:  
Pushed to 2 repositories · View In Graph Contained in tip and canonical

Attempted to fix hung IIS Express on builder.

Changeset 0df9a05ab79b

Parent 41740c5ef4c7

by Profile picture of William GrossWilliam Gross

Changes to one file · Browse files at 0df9a05ab79b Showing diff from parent 41740c5ef4c7 Diff from another changeset...

 
24
25
26
27
 
 
 
28
29
30
 
24
25
26
 
27
28
29
30
31
32
@@ -24,7 +24,9 @@
  p.StartInfo.FileName = @"C:\Program Files (x86)\IIS Express\iisexpress";   p.Start();   Thread.Sleep( 2000 ); - p.CloseMainWindow(); + if( !p.CloseMainWindow() ) + // We need this when the process runs non-interactively, such as from a scheduled task on a build server. + p.Kill();   p.WaitForExit();   }   configureIis( true, useServerAppPoolSettings );