static void Main(string[] args) { ProjectTypes projecttypes = ProjectTypes.GetProjectTypes(); SerializationWarmUp(); // Directory("*.*proj") // *.csproj // *.fsproj // *.vbproj // *.cxproj // ????? string[] files = null; string searchPattern = "*proj"; string path = System.IO.Path.Combine("..", "..", "..", "..", "Templates", "Projects"); files = System.IO.Directory.GetFiles(path, searchPattern, System.IO.SearchOption.AllDirectories); files_with_errors = new List <string>(); nodes_unknown_total = new Dictionary <string, List <string> >(); Dictionary <string, Project> projects = new Dictionary <string, Project>(); foreach (string f in files) { nodes_unknown = null; Project project_loaded = ReadProjectAsync(f).Result; projects.Add(f, project_loaded); if (null != nodes_unknown) { nodes_unknown_total.Add(f, nodes_unknown); } } if (nodes_unknown_total.Keys.Count > 0) { throw new System.SystemException("Project with unknown node found!"); } return; }