示例#1
0
        private string GetAssemblyPathFromVSInstalDir(BuildItem item)
        {
            string name = GetReferenceDllName(item);

            string[] installDirs = FrameworkHelper.GetVSInstallFoldersPaths();
            string   path        = FrameworkHelper.GetAssemblyPath(name, installDirs);

            if (File.Exists(path))
            {
                return(path);
            }
            return(string.Empty);
        }