I am trying to start my Windows services application but i am getting the following error
Cannot start service from the command line or a debugger. A Windows Service must first be installed (using installutil.exe) and then started with the ServerExplorer, Windows Services Administrative tool or the NET START command.
Could someone please help me on this..
System.Diagnostics.Debugger.Break()
in the startup and then to install and start it. You'll be offered an opportunity to attach the debugger when you hit the breakpoint. – spender