Hi
Maybe I'm missing something.
I installed topshelf, shelved a service i wrote based on examples. Everything is working ok, and my shelved service is running.
I was under impression that when xcopy updated dll of the code my service needs to run that topshelf automagically would detect that and restart the service.
However, when I copy the dll, i get the "action can't be completed because folder or file is open in another program. close the folder/file and try again"
If i stop my shelved service then I can copy ok but then have to manually start it back up again.
Am I missing something or is that how it should be working.
What are the best ways of updating services that are shelved? What do you guys do?
Thanks
While shelving isn't quite there yet, the old-style single service mode works great and has a smaller memory footprint. It makes installing and removing services pretty easy so you don't lose very much by not using shelving...
On 2012-06-11, at 4:42 PM, Dru Sellers <d...@drusellers.com> wrote:
So, first my apologies - this is not the most robust code I have ever written, and the shelving stuff often has these kinds of issues. I am currently going through TS v3 to try and fix exactly these kinds of issues. That said, your expectations are spot on, I just fail to meet them.
Right now most of us don't use shelving. :(If you wanted to take a look at the code I would happily help point in the right directions.
-d