<p>I have a small VB.NET application that I'm working on using the full version of Visual Studio 2005. In the <strong>Publish</strong> properties of the project, I have it set to <em>Automatically increment revision with each publish</em>.</p>

<p>The issue is that it's only incrementing the revision in the Setup files. It doesn't seem to be updating the version number in the About Box (which is the generic, built-in, About Box template). That version number seems to be coming from <em>My.Application.Info.Version</em>.</p>

<p>What should I be using instead so that my automatically incrementing revision number shows up in the about box?</p>

[{'answer_id': 11284, 'author': 'Patrik Svensson', 'author_id': 936, 'author_profile': 'https://Stackoverflow.com/users/936', 'pm_score': 0, 'selected': False, 'text': "<p>I'm no VB.NET expert, but have you tried to set the value to for example 1.0.0.*?\nThis should increase the revision number (at least it does in the AssemblyInfo.cs in C#).</p>\n"}, {'answer_id': 11286, 'author': 'Jedi Master Spooky', 'author_id': 1154, 'author_profile': 'https://Stackoverflow.com/users/1154', 'pm_score': 0, 'selected': False, 'text': '<p>The option you select is only to update the setup number. To update the program number you have to  modify the AssemblyInfo. </p>\n\n<p>C#\n[assembly: AssemblyVersion("X.Y.<em>")]\n[assembly: AssemblyFileVersion("X.Y.</em>")]</p>\n\n<p>VB.NET\nAssembly: AssemblyVersion("X.Y.*")</p>\n'}, {'answer_id': 11297, 'author': 'Stu', 'author_id': 414, 'author_profile': 'https://Stackoverflow.com/users/414', 'pm_score': 2, 'selected': True, 'text': '<p>Change the code for the About box to </p>\n\n<pre><code>Me.LabelVersion.Text = String.Format("Version {0}", My.Application.Deployment.CurrentVersion.ToString)\n</code></pre>\n\n<p>Please note that all the other answers are correct for "how do I get my assembly version", not the stated question "how do I show my publish version".</p>\n'}, {'answer_id': 11304, 'author': 'rjzii', 'author_id': 1185, 'author_profile': 'https://Stackoverflow.com/users/1185', 'pm_score': 1, 'selected': False, 'text': '<p>It took me a second to find this, but I believe this is what you are looking for:</p>\n\n<pre><code>using System;\nusing System.Reflection;\npublic class VersionNumber\n{\n   public static void Main()\n   {\n      System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();\n      Version version = assembly.GetName().Version;\n      Console.WriteLine ("Version: {0}", version);\n      Console.WriteLine ("Major: {0}", version.Major);\n      Console.WriteLine ("Minor: {0}", version.Minor);\n      Console.WriteLine ("Build: {0}", version.Build);\n      Console.WriteLine ("Revision: {0}", version.Revision);\n      Console.Read();\n   }\n}\n</code></pre>\n\n<p>It was based upon the code provided at the following site - <a href="http://en.csharp-online.net/Display_type_version_number" rel="nofollow noreferrer">http://en.csharp-online.net/Display_type_version_number</a></p>\n'}, {'answer_id': 11334, 'author': 'Michael Stum', 'author_id': 91, 'author_profile': 'https://Stackoverflow.com/users/91', 'pm_score': 0, 'selected': False, 'text': '<p>It\'s a maximum of 65535 for each of the 4 values, but when using 1.0.* or 1.0.*.*, the Assembly Linker will use a coded timestamp (so it\'s not a simple auto-increment, and it can repeat!) that will fit 65535.</p>\n\n<p>See my answer to <a href="https://stackoverflow.com/questions/650/automatically-update-version-number#655">this question</a> for more links and details.</p>\n'}]
['https://Stackoverflow.com/questions/11279', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/305/']