Restart WPF application after click-once update (start the new version)

后端 未结 6 2128
一整个雨季
一整个雨季 2020-12-14 02:24

How to restart WPF application after it has been updated using click-once, i need to start the new version!

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-14 03:11

    Once you've started your application (Double-Clicked the .application file, that is) you won't notice automatically, since one thing the framework does for you at startup only is to check whether your local version is older than the one in the download site of the app.

    But you can use the ApplicationDeployment-Class to check for updates, it has all means necessary IIRC.

提交回复
热议问题