public static string FindFile(string folder, string fileName)
        {
            IEnumerable <string> files = FolderUtility.GetFilesRecursively(folder, fileName, _rsprojPathExclusion);
            string file = files.FirstOrDefault();

            if (string.IsNullOrWhiteSpace(file))
            {
                return(fileName);
            }
            return(file);
        }
        public static string ExtractToTempDir(string archive, string entryName)
        {
            string tempFolder = FolderUtility.CreateTempFolder();
            string path       = Path.Combine(tempFolder, Path.GetFileName(entryName));

            using (var zf = new ZipFile(archive))
            {
                ZipEntry ze = zf.Find(entryName);
                if (ze == null)
                {
                    return(null);
                }
                zf.Extract(ze, path, true);
            }
            return(path);
        }