Beispiel #1
0
        public void BackupProject()
        {
            string backupPath = @"E:\Backup";

            if (!Directory.Exists(backupPath))
            {
                return;
            }
            Residence rs = new Residence(backupPath);

            rs.SaveVSSolution(@"C:\Programs\Standard\TinaValidator", false);
            rs.SaveVSSolution(@"C:\Programs\Standard\Aritiafel", false);
            TestContext.WriteLine("Save Successed.");
        }
Beispiel #2
0
        public static void SaveProject(string subFolderName, string projectName, string backupDrive = DefaultBackupDrive)
        {
            Residence rs = new Residence($"{backupDrive}:\\Backup");

            rs.SaveVSSolution($@"C:\Programs\{subFolderName}\{projectName}", true, new string[] { "Data" });
        }
Beispiel #3
0
        public static void SaveProject(ProjectChoice pc = ProjectChoice.Aritiafel, string backupDrive = DefaultBackupDrive)
        {
            Residence rs = new Residence($"{backupDrive}:\\Backup");

            rs.SaveVSSolution(ProjectFolderPath[pc], true, new string[] { "Data" });
        }