Monthly Archives: March 2011

Conditionally Start/Stop a Windows Service

When developing windows services in visual studio I like to set up a pre-build event which stops and uninstalls the service and a post-build event which installs and starts the service. Using net start servicename is problematic because your build … Continue reading

Posted in Uncategorized | Leave a comment