Compartir a través de


ToolLocationHelper.GetSDKRedistFolders Method (String)

Get the list of SDK folders which contain the redist files for the SDK at the specified SDK root. The list is in the order that must be used in searching for references.

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.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public Shared Function GetSDKRedistFolders ( _
    sdkRoot As String _
) As IList(Of String)
public static IList<string> GetSDKRedistFolders(
    string sdkRoot
)
public:
static IList<String^>^ GetSDKRedistFolders(
    String^ sdkRoot
)
static member GetSDKRedistFolders : 
        sdkRoot:string -> IList<string> 
public static function GetSDKRedistFolders(
    sdkRoot : String
) : IList<String>

Parameters

  • sdkRoot
    Type: System.String

    The root folder for the SDK, must contain a redist folder.

Return Value

Type: IList<String>
Returns the list of folders to be used in searching for redist files in the SDK, in the order that must be used for the search.

.NET Framework Security

See Also

Reference

ToolLocationHelper Class

GetSDKRedistFolders Overload

Microsoft.Build.Utilities Namespace