How to efficiently write code and debug windows service project in visual studio? Visual Studio gives
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.
when I want to debug my code. It seems to me that it is inefficient to test the code. One has to install a service, start it, attach the debugger, test it, and then uninstall it.
Thanks, Gil.