Winforms: getting Publish Version number?
This should get you the publish version:
Try this one:
If My.Application.IsNetworkDeployed Then Label1.Text = My.Application.Deployment.CurrentVersion.ToString() End If
The publish version will appear in runtime.
I didn't catch the "publish version will appear in runtime" to start with but I was able to use this and set my label to say "N/A during debug " then when published it changes and displays the published version.