windows service & updating c# console app
I have a windows service that executes a console app every hour a开发者_如何学Gond it's running with no problems. I didn't set this up though, and I'm not familiar with windows services at all.
Today I had to update the console app, so I presumed that if I just copied the exe file back into the folder were it was called from the windows service after I modified it it would be fine. But it looks like it stopped working.
I ran the console app mannually from the command prompt and it works fine though.
Any ideas on why this could have stopped working?
Thanks
first try to stop/start your service, then try to uninstall and install your service again
you can do the first thing in administrative tools/services install/uninstall with installUtil
精彩评论