Debug C# Windows Service
        Posted  
        
            by Goober
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Goober
        
        
        
        Published on 2010-04-13T13:07:56Z
        Indexed on 
            2010/04/13
            13:12 UTC
        
        
        Read the original article
        Hit count: 388
        
Scenario
I've got a windows service written in C#. I've read all the google threads on how to debug it, but I still can't get it to work. I've run "PathTo.NetFramework\InstallUtil.exe C:\MyService.exe"........It said the install was successful, however when I run "Services.msc", The service isn't displayed at all, anywhere. If I go into Task Manager, there is a process called "MyService.vshost.exe".....pretty sure that's not it, because it's a service, not a process........Any suggestions and/or help? Greatly appreciated.
Other
I'm running VS2008.
© Stack Overflow or respective owner