LC.TargetFrameworkVersion Property
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets or sets he targeted version of the framework (i.e. 4.5 or 2.0, etc.).
Namespace: Microsoft.Build.Tasks
Assembly: Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)
Syntax
'Declaration
<RequiredAttribute> _
Public Property TargetFrameworkVersion As String
[RequiredAttribute]
public string TargetFrameworkVersion { get; set; }
[RequiredAttribute]
public:
property String^ TargetFrameworkVersion {
String^ get ();
void set (String^ value);
}
[<RequiredAttribute>]
member TargetFrameworkVersion : string with get, set
function get TargetFrameworkVersion () : String
function set TargetFrameworkVersion (value : String)
Property Value
Type: System.String
The targeted version of the framework (i.e. 4.5 or 2.0, etc.).
Remarks
Introduced in Visual Studio 2015.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.