question

krishna-5407 avatar image
0 Votes"
krishna-5407 asked HuiLiu-MSFT commented

wpf application does not check for updates when installing

I have a WPF application which is running for few months now, i updated some code today and published it to server .Now when my client tries to hit the url to download or clicks the application shortcut in desktop a previous version which was deployed few months ago runs and the latest code is not updated .In my project ,properites ->publish settings->Updates .I have selected the option "the application should check for updates " .Please find below the image containing the settings.

147267-untitled.png


windows-wpf
yb5tm.png (128 B)
untitled.png (19.0 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,@krishna-5407 . Which method do you use to deploy and publish your wpf application? Is it Windows Installer, ClickOnce Deployment or something else? What settings did you make? Could you re-upload the picture to display it correctly?

0 Votes 0 ·

I use click once deployment

0 Votes 0 ·

1 Answer

krishna-5407 avatar image
0 Votes"
krishna-5407 answered HuiLiu-MSFT commented

I found the solution ,we have to set "specify a minimum required version for the application" to the latest one .Although i hope there is some way to avoid doing this manually every time i publish .147226-so.jpg



so.jpg (85.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,@krishna-5407 . I’m glad to hear that your problem has been resolved, and you could accept the solution as an answer. It is helpful for community members to solve similar problems.

0 Votes 0 ·