Installing a self-developed Windows Service August 18, 2023 by Tarik I was just having this issue and it was because I wasn’t running my visual studio command prompt as an administrator.