Cannot attach to a service in VS 2008

Posted by rhj4 on Stack Overflow See other posts from Stack Overflow or by rhj4
Published on 2010-05-06T19:06:48Z Indexed on 2010/05/06 19:08 UTC
Read the original article Hit count: 153

I have created a service in VS 2008 called EmailReader. I have compiled, installed and started the service. Its timer loop is writing records to a log file, so I can see that it is running. I am trying to attach to it in VS 2008, but the process name is greyed out in the list of available processes, and the name is "EmailReader.vshost.exe" instead of "EmailReader.exe".

There is probably a simple answer, but I don't know it. Do you?

© Stack Overflow or respective owner

Related posts about windows-services

Related posts about debugging