Share via


MSBuild.ToolsVersion Property

Definition

Value of ToolsVersion to use when building projects passed to this task.

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

public:
 property System::String ^ ToolsVersion { System::String ^ get(); void set(System::String ^ value); };
public string ToolsVersion { get; set; }
public string ToolsVersion { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.ToolsVersion : string with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.ToolsVersion : string with get, set
Public Property ToolsVersion As String

Property Value

The target .NET Framework version to build the project with.

Attributes

Remarks

The default value is 3.5.

Applies to