Don't lock files of application while running

前端 未结 4 1631
慢半拍i
慢半拍i 2021-01-20 13:36

I am creating a software application that is able to update itself. After the start, the application checks if there are updates avaiable, download those files (assemblies),

4条回答
  •  醉话见心
    2021-01-20 14:32

    Well, Windows does allow you to rename the respective files even though they are in use. So you could rename to updated files, replace them with the new version and restart the application.

    I guess you won't be able to solve this without changing the update mechanism.

提交回复
热议问题