This documentation is archived and is not being maintained.

ResolveAssemblyReference.LatestTargetFrameworkDirectories Property

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

Gets or sets the list of directories which contain the redist lists for the most current framework which can be targeted on the machine.

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)

public string[] LatestTargetFrameworkDirectories { get; set; }

Property Value

Type: System.String[]
Returns the list of directories which contain the redist lists for the most current framework which can be targeted on the machine. If this is not set Then we will looks for the highest framework installed on the machine for a given target framework identifier and use that.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: