Exemplo n.º 1
0
        private List <string> GetCodeAnalysisLogFiles(string slnFilePath)
        {
            List <SlnProjectInfo> list  = SlnFileHelper.GetProjects(slnFilePath);
            List <string>         files = new List <string>();

            foreach (SlnProjectInfo project in list)
            {
                if (string.IsNullOrEmpty(project.OutputPath) || string.IsNullOrEmpty(project.AssemblyName))
                {
                    continue;
                }

                string file = Path.Combine(project.OutputPath, project.AssemblyName + ".dll.CodeAnalysisLog.xml");
                files.Add(file);
            }

            return(files);
        }