Create Windows Service application in C#

- Create 'Windows Application' Project - Add 'Windows Service' item to your project - Add 'Installer Class' item to your project - Set the service name/description using the property editor or inside *.designer.cs classes Installing Windows Service

c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe Program.exe

Uninstalling Windows Service

c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe \uninstall Program.exe

Comments

Popular posts from this blog

Parse XML to dynamic object in C#

C# Crop white space from around the image