question

nigelsvisionnigelsvision-3514 avatar image
0 Votes"
nigelsvisionnigelsvision-3514 asked DanielZhang-MSFT answered

VB.net Visual studio 2019 windows form software stopped updating from my server

Hi, I have VS 2019, a windows form application I have which is set to update its self when it starts. It has been working flawlessly for years. Anyway for some reason it has stopped updating. I have no idea why, I can only assume I have changed a setting accidently.

I have tried my software on an older version of VS i.e. 2017 and it still does not work. I have tried on a different laptop in case It is a computer related issue but no luck.

Can someone help me out, I just dont know what to check.

I have gone to Project, Properties, Updates, I have checked the box which says This application should check for updates before the application starts.

I have also checked my file path to ensure it searches the correct path for the update.

My application starts very quickly, its like it does not even attempt to check for an update.

Regards Nige

windows-forms
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.

1 Answer

DanielZhang-MSFT avatar image
0 Votes"
DanielZhang-MSFT answered

Hi nigelsvisionnigelsvision-3514,
For this problem, I have some suggestions you can refer to.
First, you need to note:
Application updates require network connectivity. If a network connection is not present, the application will run without checking for updates, regardless of the update strategy that you choose.
Then try the following methods:
1.Delete the ClickOnce File Cache:
Windows XP: %userprofile%\Local Settings\Apps\2.0*.
Windows Vista and later: %userprofile%\AppData\Local\Apps\2.0*.

Here is a useful document.
2.Please uninstall the app and reinstall it.
3.Set the minimum required version to the latest version.
Best Regards,
Daniel Zhang


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.