private void CopyProject(Project project) { AssemblyFileNames = new ArrayList(); XmlDocFileNames = new ArrayList(); ReferencePaths = new ReferencePathCollection(); foreach(AssemblySlashDoc assemblySlashDoc in project.AssemblySlashDocs) { if (assemblySlashDoc.Assembly.Path.Length>0) { string assemblyFileName = assemblySlashDoc.Assembly.Path; AssemblyFileNames.Add(assemblyFileName); string assyDir = System.IO.Path.GetDirectoryName(assemblyFileName); ReferencePaths.Add(new ReferencePath(assyDir)); } if (assemblySlashDoc.SlashDoc.Path.Length>0) { XmlDocFileNames.Add(assemblySlashDoc.SlashDoc.Path); } } ReferencePaths.AddRange(project.ReferencePaths); if (project.Namespaces==null) { NamespaceSummaries = new SortedList(); } else { NamespaceSummaries = project.Namespaces; } }