AssemblyInfo.AssemblyFileVersion Property

MSBuild Extension Pack

AssemblyInfoAssemblyFileVersion Property MSBuild Extension Pack Help 4.0.12.0
The complete version of the assembly file.

Namespace: MSBuild.ExtensionPack.Framework
Assembly: MSBuild.ExtensionPack (in MSBuild.ExtensionPack.dll) Version: 4.0.0.0
Remarks

Use AssemblyFileVersion to directly set the entire file version number with a single parameter. For example, if you know you want your version to be "1.2.3.4", you can set AssemblyVersion to this instead of having to use each of the individual AssemblyFileMajorVersion, AssemblyFileMinorVersion, AssemblyFileBuildNumber, and AssemblyFileRevision properties.

Note that the other four properties override this one. For example, If you set AssemblyFileVersion to "1.2.3.4" and then set AssemblyFileMinorVersion to 6, the resulting version will be "1.6.3.4".

This property is an input only. If you want to know what the final version generated was, use the MaxAssemblyFileVersion output property instead.

When using the MSBuild.ExtensionPack.VersionNumber.Targets file the best way to specify this is to set the AssemblyFileVersion property.

Examples

<AssemblyFileVersion>1.2.3.4</AssemblyFileVersion>
See Also

Reference