|
Program.Settings = SettingsUtils.GetSettings(new[] {arguments[1], arguments[2]}); |
After starting via InstallUtils.exe, I attach VS to the service to debug. Then, while debugging, I get to this line and the service fails because there is only 1 argument where the line expects two or more.
Arguments at line 42 ("Environment.GetCommandLineArgs()"), returns only the current location where the executable launched.

@ksobon Don't know if you still follow this repo.
Zombie/ZombieService/ZombieService.cs
Line 48 in c65d4ea
After starting via InstallUtils.exe, I attach VS to the service to debug. Then, while debugging, I get to this line and the service fails because there is only 1 argument where the line expects two or more.
Arguments at line 42 ("Environment.GetCommandLineArgs()"), returns only the current location where the executable launched.
@ksobon Don't know if you still follow this repo.