共用方式為


FormatVersion.OutputVersion Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the output version that includes the revision number.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
<OutputAttribute> _
Public Property OutputVersion As String
[OutputAttribute]
public string OutputVersion { get; set; }
[OutputAttribute]
public:
property String^ OutputVersion {
    String^ get ();
    void set (String^ value);
}
[<OutputAttribute>]
member OutputVersion : string with get, set
function get OutputVersion () : String 
function set OutputVersion (value : String)

Property Value

Type: System.String
The output version that includes the revision number.

.NET Framework Security

See Also

Reference

FormatVersion Class

Microsoft.Build.Tasks Namespace