Barbi

Hello, I'm developing windows service in C# in VS2005 and i would like to know how do i test it

thanks



Re: Visual C# General developing windows service

Brendan Grant

One of the easiest ways is to not debug it as a service right off the bat... instead modify one of your code files to run it as a console app... otherwise debugging the service when run as a service is a little more tricky.






Re: Visual C# General developing windows service

Karthikeya Pavan Kumar .B

Check this blog Testing Windows Services






Re: Visual C# General developing windows service

Barbi

Thanks Brendan,

running it as console application does work.