Installing Windows Service For Debugging...
Posted on 2011-04-29
I am attempting to "convert" a Windows Forms Application into a Windows Service, with an accompanying Windows Form UI to inteface with said Service.
So I've created a new Windows Service, copied a chunck of my code over, made necessary tweeks for it now being a Service rather then a Forms App. I built (AKA compiled) my code, and then (since you cannot run Services in IDE debug-mode directly) manually installed the Service executable using the [InstallUtil <ServiceFile.exe>] command. It goes through the motions, echoing a bunch of information about the install, at the end stating "The transacted install has completed." At this point I expected to see my Service listed with all the other services on the machiene... No such luck... Is there something I am missing here?