I want my C# Windows Service to automatically update itself

后端 未结 6 1703
暖寄归人
暖寄归人 2020-12-09 08:13

Is there a framework that can be used to enable a C# Windows Service to automatically check for a newer version and upgrade itself? I can certainly write code to accomplish

6条回答
  •  独厮守ぢ
    2020-12-09 08:48

    Could you clarify your question a bit? I'm a bit confused, because as far as I know, you can always overwrite the DLLs the service uses. The copy and restart of the service can easily be made part of you build process.

提交回复
热议问题