public CollectTargets(TaskLoggingHelper log, string timeoutValuesFilePath, string nUnitConsolePath)
        {
            Log = log;
            // Get the parent directory of the running program.  We assume that
            // this is the root of the FieldWorks repository tree.
            var fwrt = BuildUtils.GetAssemblyFolder();

            while (!Directory.Exists(Path.Combine(fwrt, "Build")) || !Directory.Exists(Path.Combine(fwrt, "Src")))
            {
                fwrt = Path.GetDirectoryName(fwrt);
                if (fwrt == null)
                {
                    Log.LogError("Error pulling the working folder from the running assembly.");
                    break;
                }
            }
            m_fwroot = fwrt;
            m_TimeoutValuesFilePath = timeoutValuesFilePath;
            m_NUnitConsolePath      = nUnitConsolePath;
        }