Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

Starting/debugging a Windows Service inside Visual Studio 2008?

I am about to write my first Windows Service.  But heard you cannot start or debug a Windows Service inside Visual Studio 2008?

Is that true?

If so, how am I supposed to make it work?  Do I need to resort to using the log file?

Any other ideas?

Thanks,
newbieweb
ASKER CERTIFIED SOLUTION
Avatar of Grant Spiteri
Grant Spiteri
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of curiouswebster

ASKER

Maybe that explains why my architect, who said Windows Services can not be debugged, made a console application to demostrate communications with Remoting.

How do I check if the console aplicationcan be converted to a Windows Service?  That's a very interesting trasformation...

Thanks,
newbieweb

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm again talked to my architect who says to develop this as a console app, for debug purposes, then as the final act convert to a Windows Service.  So just like you said.

Could you give me more specifics on how to make that conversion?

Thanks a lot,
newbieweb
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Carl Tawn
Carl Tawn
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks.