I have a .NET windows service project and a deployment project to create an MSI for the service. I've installed/uninstalled the service numerous times during development but seem to have broken something. The service appears to install and the program files exist as expected, the Windows add/remove program sees the new program but the Management Console (MMC) does not list the newly installed service.
How can I get MMC to recognize this service exists? It was working fine (appearing in MMC as expected) for a while. During one uninstall the software was removed but the service remained listed in MMC (obviously it wouldn't start). I managed to remove the orphaned service from MMC via Regedit but when I now reinstall the service MMC won't see it.
How can I get MMC to see this service when it is installed?