I have a Winforms application and you want to display the version number so that we can know if our update scripts are running correctly. Is there a way to get the version number of the publication (as shown on the application properties pages, the Publish tab)?
When I use Reflection.Assembly.GetExecutingAssembly (). GetName (). The version etc. seems to use the AssemblyVersion number from AssemblyInfo.vb, which is not the same.
If I use wildcards in AssemblyInfo.vb, it displays different numbers again.
source share