Partilhar via


ResolveAssemblyReference.TargetFrameworkDirectories Property

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

Gets or sets the path to the target framework directory.

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

Property Value

Type: array<System.String[]
The path to the target framework directory.

Remarks

This property is required to determine the CopyLocal status for resulting items.

If this property is not specified, no resulting items will be have a CopyLocal value of true unless they explicitly have a Private metadata value of true on their source item.

.NET Framework Security

See Also

Reference

ResolveAssemblyReference Class

Microsoft.Build.Tasks Namespace