ToolLocationHelper.GetSDKDesignTimeFolders Method

Definition

Gets the list of SDK folders that contain the design-time files for the SDK at the specified SDK root. The list is in the order that must be used in searching for references.

Overloads

GetSDKDesignTimeFolders(String, String, String)

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

GetSDKDesignTimeFolders(String)

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

GetSDKDesignTimeFolders(String, String, String)

Source:
ToolLocationHelper.cs

Get the list of SDK folders which contains the DesignTime files 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> GetSDKDesignTimeFolders(string sdkRoot, string targetConfiguration, string targetArchitecture);

Parameters

sdkRoot
String

Root folder for the SDK must contain a DesignTime folder

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 DesignTime files in the SDK

Applies to

MSBuild 17 and other versions
Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17

GetSDKDesignTimeFolders(String)

Source:
ToolLocationHelper.cs

Get the list of SDK folders which contains the designtime files 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> GetSDKDesignTimeFolders(string sdkRoot);

Parameters

sdkRoot
String

Root folder for the SDK must contain a Designtime folder

Returns

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

Applies to

MSBuild 17 and other versions
Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17