you can use Update Function every time you publish your application and press update button
Imports System.Deployment.Application
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim ad As ApplicationDeployment
Dim info As UpdateCheckInfo
ad = ApplicationDeployment.CurrentDeployment
info = ad.CheckForDetailedUpdate
If Not info.UpdateAvailable Then
MsgBox("No Update Found")
Return
End If
Dim doupdate As Boolean = True
If info.IsUpdateRequired Then
MsgBox("There is Some updates Founds , Downloading Now...")
Else
If MsgBox("Update available. Download Now?", MsgBoxStyle.YesNo) = MsgBoxResult.No Then
doupdate = False
End If
End If
If doupdate Then
ad.Update()
MsgBox("The Update Has been Downloaded. Now Restart Application")
Application.Restart()
End If
End Sub
after complete this project Publish it...
then remake or make change in application and again publish in same folder then press update button Its now update
if
my anwer is correct then press Answer Button