win_service - use custom binary for tests (#51689)

This commit is contained in:
Jordan Borean
2019-02-04 20:29:29 +10:00
committed by GitHub
parent d37386d2c7
commit 2e99dea867
5 changed files with 222 additions and 119 deletions

View File

@@ -0,0 +1,16 @@
using System.ServiceProcess;
namespace SleepService
{
internal static class Program
{
private static void Main(string[] args)
{
ServiceBase.Run(new ServiceBase[1]
{
(ServiceBase) new SleepService(args)
});
}
}
}