Partager via


GenerateApplicationManifest.ClrVersion Property

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

Gets or sets the minimum version of the Common Language Runtime (CLR) required by the application.

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
Public Property ClrVersion As String
public string ClrVersion { get; set; }
public:
property String^ ClrVersion {
    String^ get ();
    void set (String^ value);
}
member ClrVersion : string with get, set
function get ClrVersion () : String 
function set ClrVersion (value : String)

Property Value

Type: System.String
The minimum version of the CLR required by the application.

Remarks

By default, the value is the CLR version in use by the build system. If the task is generating a native manifest, this property is ignored.

.NET Framework Security

See Also

Reference

GenerateApplicationManifest Class

Microsoft.Build.Tasks Namespace