ToolLocationHelper.GetSDKReferenceFolders Method (String, String, String)
Get the list of SDK folders which contain the references 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 GetSDKReferenceFolders ( _
sdkRoot As String, _
targetConfiguration As String, _
targetArchitecture As String _
) As IList(Of String)
public static IList<string> GetSDKReferenceFolders(
string sdkRoot,
string targetConfiguration,
string targetArchitecture
)
public:
static IList<String^>^ GetSDKReferenceFolders(
String^ sdkRoot,
String^ targetConfiguration,
String^ targetArchitecture
)
static member GetSDKReferenceFolders :
sdkRoot:string *
targetConfiguration:string *
targetArchitecture:string -> IList<string>
public static function GetSDKReferenceFolders(
sdkRoot : String,
targetConfiguration : String,
targetArchitecture : String
) : IList<String>
Parameters
sdkRoot
Type: System.StringThe root folder for the SDK.
targetConfiguration
Type: System.StringThe configuration the SDK is targeting. This is “Debug” or “Retail”.
targetArchitecture
Type: System.StringThe architecture the SDK is targeting.
Return Value
Type: IList<String>
Returns the list of folders to be used in searching for references in the SDK, in the order that must be used for the search.
.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.