开发者

windows service & updating c# console app

开发者 https://www.devze.com 2023-03-10 03:21 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消