VersionFile Property

MSBuild

Gets or sets the file used to initialize and persist the version.


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

Syntax

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

/** property */
public void set_VersionFile(string value);
JScript
public function get VersionFile() : String

public function set VersionFile(value : String);

Property Value

The version file.

Remarks

When specified, the task will attempt to load the previous version information from the file. After updating the version, the new value will be saved to the file.

If you do not specify a value for this property, the version will be calculated based on the values passed to the Major, Minor, Build, and Revision properties. The new version will not be persisted.

See Also

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