Esempio n. 1
0
        private void _GetNCoverPathAndVersion(string ncoverPath, bool throwExceptionIfNotFound, out string NCoverPath, out int version)
        {
            NCoverPath = ncoverPath;
            version    = 0;
            string versionForExecutable = PathSearch.GetVersionForExecutable(ncoverPath, throwExceptionIfNotFound);

            if (versionForExecutable.Length > 0)
            {
                version = int.Parse(versionForExecutable.Replace(".", ""));
            }
        }