RevisionType Property

MSBuild

Gets or sets the method used to generate a Revision number


Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Property RevisionType As String
C#
public string RevisionType { get; set; }
C++
public property string RevisionType sealed  {
    String get();
    void set(String value);
}
J#
/** property */
public string get_RevisionType();

/** property */
public void set_RevisionType(string value);
JScript
public function get RevisionType() : String

public function set RevisionType(value : String);

Remarks

If value is not provided, None is assumed. The Revision number is set according to the following table:

RevisionTypeDescription
NoneThe number is not modified.
AutomaticA number that starts at 0 at midnight, and constantly increases throughout the day (changing roughly every 1.3 seconds). Guaranteed to be safe for components of the AssemblyVersion attribute.
IncrementIncreases the previous Revision value by 1.
BuildIncrementIncreases the previous Revision value by 1 when the value of Build is unchanged. If the value of Build has changed, Revision is reset to zero.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.