ToolLocationHelper.FindRootFolderWhereAllFilesExist(String, String) Method

Definition

Finds first folder in the list which contains all given files. Returns an empty string if not found.

C#
public static string FindRootFolderWhereAllFilesExist(string possibleRoots, string relativeFilePaths);

Parameters

possibleRoots
String

Root folders separated by ';'

relativeFilePaths
String

Relative file paths to find under root folders, separated by ';'.

Returns

The first root folder in the given list, which contains all files. Empty string if not found.

Applies to

Ürün Sürümler
MSBuild 16, 17
MSBuild (.NET Core) 16, 17