ToolLocationHelper.GetSDKReferenceFolders Method

Definition

Gets the list of SDK folders that 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.

Overloads

GetSDKReferenceFolders(String)

Get the list of SDK folders which contains the references for the sdk at the sdkRoot provided in the order in which they should be searched for references.

GetSDKReferenceFolders(String, String, String)

Get the list of SDK folders which contains the references for the sdk at the sdkRoot provided in the order in which they should be searched for references.

GetSDKReferenceFolders(String)

Source:
ToolLocationHelper.cs

Get the list of SDK folders which contains the references for the sdk at the sdkRoot provided in the order in which they should be searched for references.

C#
public static System.Collections.Generic.IList<string> GetSDKReferenceFolders(string sdkRoot);

Parameters

sdkRoot
String

Root folder for the SDK

Returns

A list of folders in the order which they should be used when looking for references in the SDK

Applies to

MSBuild 17 ve diğer sürümler
Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17

GetSDKReferenceFolders(String, String, String)

Source:
ToolLocationHelper.cs

Get the list of SDK folders which contains the references for the sdk at the sdkRoot provided in the order in which they should be searched for references.

C#
public static System.Collections.Generic.IList<string> GetSDKReferenceFolders(string sdkRoot, string targetConfiguration, string targetArchitecture);

Parameters

sdkRoot
String

Root folder for the SDK

targetConfiguration
String

The configuration the SDK is targeting. This should be Debug or Retail

targetArchitecture
String

The architecture the SDK is targeting

Returns

A list of folders in the order which they should be used when looking for references in the SDK

Applies to

MSBuild 17 ve diğer sürümler
Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17