public static bool TemplateConfigDirectoryExistsInProject(this DotNetProject project)
        {
            FilePath directory = project.GetTemplateConfigDirectory();

            foreach (ProjectFile file in project.Files)
            {
                if (ExistsInDirectory(directory, file))
                {
                    return(true);
                }
            }

            return(false);
        }
Exemple #2
0
 public TemplateConfigFolder(DotNetProject project)
     : this(project.GetTemplateConfigDirectory(), project)
 {
 }