The worker service is a .net core 3.1, it works when I run it on VS 2019 (both debug and release), but after deploying/publishing and installing it with sc.exe, it
sc.exe