Ejemplo n.º 1
0
 private static void AddItem(EnvDTE.ProjectItem item, List<string> names)
 {
     var file = item.GetFullPath();
     names.Add(file.ToLower());
     var wd = Helper.WorkingDirectoryFromPath(file);
     var name = file.Substring(wd.Length + 1);
     Helper.Exec(wd, true, Settings.Instance.GitPath, "add", name);
     for (var i = 1; i <= item.ProjectItems.Count; i++)
         AddItem(item.ProjectItems.Item(i), names);
 }