No problem to find the most recent version of C #, for assembly version and file versions use do not understand, especially recorded as follows:
About release version number management
Standard version number represented as physical form separated by a period four numbers, as the following code example.
<major version>. <minor version >. <build number>. <revision>
actual use, we generally only use three paragraphs. I.e.
<major version> <minor version> <build number>..
And will be divided into the external version number and the version number:
<Version>
<InternalVer> 2.2.2 </ InternalVer>
<ExternalVer> 1.1.0 </ ExternalVer>
< / version>
programs should be displayed outside the version number.
Before the program is compiled with the current build number of the update build number AssemblyVersion property segment, non-program files (such as resources, etc.) in a pack, backup, unified using the internal version number when playing tag.
Each Assebmly contains three Version
AssemblyFileVersion: stored in the win32 resources, CLR does not care about the version number,
AssemblyInformationnalVersion: stored in the win32 resources, CLR does not care about the version number, the version number is used to mean an inclusive
Assembly version of the product
AssemblyVersion : AssemblyDef manifest metadata table stored in, CLR will use the version number of
support tools:
CSC.exe and AL.
Other references AssemblyVersion cause Assembly Assembly this does not work.
In AssemblyInfo.cs VS generated therein may be provided for each information related Porject .NET.
[Assembly: AssemblyVersion ( "1.0.0.0")]
[Assembly: the AssemblyFileVersion ( "1.0.1.0")]
If [assembly: AssemblyVersion ( ". 1.0 *")], the program changes after each build or rebuild, assembly of
AssemblyVersion the build Number and ReversionNumber and automatically increases every time .ReversionNumber change,
change Build Number with date changes.
is there any tool can be explicitly set in AssemblyVersion a solution of all the project?
obtain version information programmatically:
// == the get File version
System.Diagnostics.FileVersionInfo.GetVersionInfo
/ / == the Get Version Assembly
the AssemblyName assName = Assembly.GetExecutingAssembly () GetName ();.
String = assName.Version.ToString Version ();
For a win32 exe or dll's, view its properties (Properties-> Version) can be seen in Explore
File Version
Product Version
a .net Assembly view its properties (Properties-> Version) can be seen in Explore
Assebly Version (corresponding to AssemblyVersion)
File Version (corresponding to AssemblyFileVersion)
Product Version (corresponding to AssemblyInformationnalVersion, if not specified, and the corresponding AssemblyFileVersion)