I am using MSBuild task to start a windows service. I am using following code:
MSBuild.ExtensionPack.Computer.WindowsService TaskAction="Start" ServiceName="AppServices" ContinueOnError='false'/>
If I start the service I am getting following error:
Start Service failed with return code '[7] ServiceRequestTimeout'
Is there any setting or option to tell MSBuild to start service after waiting for a minute or two. Or Is there any way to introduce delay before calling this task within MSBuild?
Thanks