woensdag, november 30, 2005

Setting the description of a Windows Service isn't possible? [UPDATED: yes it is!]

When I did my first Windows Service, everything was going smooth.

Only stupid thing that I didn't find out was how to set the description text (visible in service overview).....
Something I find was the ServiceProcessDescriptionAttribute, but I didn't find out how to link it with the service

Blogs that also mention this problem:
http://www.jasonbock.net/JB/Default.aspx?blog=entry.b36451aa549f4e238a7aafa18b770aa6
http://www.jasonbock.net/JB/Default.aspx?blog=entry.c0ca31947dcc48278600834533ee16ea

Finally I found a solution on The Code Project:
Adding a description to a .NET Windows Service:http://www.codeproject.com/dotnet/dotNETSCMDescription.asp

Geen opmerkingen: