Summary
Gets the file name for the build file in the specified directory.
Syntax
public static string GetBuildFileName(string directory, string searchPattern, bool findInParent)
Parameters
Name |
Type |
Description |
directory |
string |
The directory to look for a build file. When in doubt use Environment.CurrentDirectory for directory. |
searchPattern |
string |
Look for a build file with this pattern or name. If null look for a file that matches the default build pattern (*.build). |
findInParent |
bool |
Whether or not to search the parent directories for a build file. |
Return Value
Type |
Description |
string |
The path to the build file or null if no build file could be found. |