With .NET 8.0 and above, if you have both "WorkerService.dll" and "WorkerService.exe" files, use the .exe file to create the Windows service instead of the .dll. This resolved my 1053 error.