private void AddLibraryNodes() { Nodes.Clear(); String appDir = Path.GetDirectoryName(ServiceManager.OutputAssemblyFullPath); String tagGroupDir = Path.Combine(appDir, "TagGroup"); if (!Directory.Exists(tagGroupDir)) { Directory.CreateDirectory(tagGroupDir); } String[] tagGroupFiles = Directory.GetFiles(tagGroupDir); foreach (String item in tagGroupFiles) { TagGroupFileNode node = new TagGroupFileNode(item, FileNodeStatus.InProject); node.AddTo(this); } // foreach (ProjectItem item in _project.Items) // { // if (item.ItemType == AimItemType.TagGroup) // { // TagGroupFileNode node = new TagGroupFileNode(item.FileName, FileNodeStatus.InProject); // node.AddTo(this); // } // } }
private void AddLibraryNodes() { Nodes.Clear(); String appDir = Path.GetDirectoryName(ServiceManager.OutputAssemblyFullPath); String tagGroupDir = Path.Combine(appDir, "TagGroup"); if (!Directory.Exists(tagGroupDir)) { Directory.CreateDirectory(tagGroupDir); } String[] tagGroupFiles = Directory.GetFiles(tagGroupDir); foreach (String item in tagGroupFiles) { TagGroupFileNode node = new TagGroupFileNode(item, FileNodeStatus.InProject); node.AddTo(this); } // foreach (ProjectItem item in _project.Items) // { // if (item.ItemType == AimItemType.TagGroup) // { // TagGroupFileNode node = new TagGroupFileNode(item.FileName, FileNodeStatus.InProject); // node.AddTo(this); // } // } }