AssemblyFileVersionAttribute and AssemblyVersionAttribute: A subtle difference
The AssemblyInfo.cs file generated by Visual Studio contains the following lines: // Version information for an assembly consists of the // following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build // and Revision Numbers // by using the ‘*’ as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] I was trying to auto-increment the build number by changing them like this: [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyFileVersion("1.0.*")] However, when I looked at the properties dialog for my executable, the file version was “1.0.*”. This puzzled me until I came across Manfred Lange’s ( Manni on DotNet ) very clear explanation of the difference between these attributes and how to use them effectively to auto-increment assembly version numbers.
Read more from the original source:
AssemblyFileVersionAttribute and AssemblyVersionAttribute: A subtle difference


