A Project Template for developing Windows Service easily (code).
For developing a Windows Service:
This service will run in
After you are done with development of your service, just set
You can also set things like service name and description in
Help for command line shows a dialog now.
RunInService is now in App.config so it can be easily changed if one forgot to set it to true even after deployment; so there is no difference between development assemblies and deployment assemblies other than the flag in App.config.
F# VSIX added. Both project templates will be accessible via Visual Studio Gallery.
It is now a Windows Application, so the app can handle Windows Messages. The service has just to implement
(Structurally changed, not applicable)
NLog is used for logging as a NuGet.