Exemple #1
0
 public static bool IsProjectExist(VsTemplateInfo vsversion, string projectname)
 {
     if (Directory.Exists(Path.Combine(vsversion.FullPath, String.Concat(projectname, "_csproj", ".xslt"))))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #2
0
 public static bool IsSolutionExist(VsTemplateInfo vsversion, string solutionname)
 {
     if (Directory.Exists(Path.Combine(vsversion.FullPath, String.Concat(solutionname, "_sln", ".xslt"))))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #3
0
 public static bool IsProjectExist(VsTemplateInfo vsversion, string projectname)
 {
     if (Directory.Exists(Path.Combine(vsversion.FullPath, String.Concat(projectname, "_csproj",".xslt"))))
         return true;
     else
         return false;
 }
Exemple #4
0
 public static void AddProject(VsTemplateInfo vsversion, string projectname)
 {
     File.Create(Path.Combine(vsversion.FullPath, String.Concat(projectname, "_csproj", ".xslt")));
 }
Exemple #5
0
 public static bool IsSolutionExist(VsTemplateInfo vsversion, string solutionname)
 {
     if (Directory.Exists(Path.Combine(vsversion.FullPath, String.Concat(solutionname, "_sln", ".xslt"))))
         return true;
     else
         return false;
 }
Exemple #6
0
 public static void AddSolution(VsTemplateInfo vsversion, string solutionname)
 {
     File.Create(Path.Combine(vsversion.FullPath, String.Concat(solutionname, "_sln", ".xslt")));
 }
Exemple #7
0
 public static void DeleteVsTemplate(VsTemplateInfo vstemplate)
 {
     Directory.Delete(vstemplate.FullPath, true);
 }
Exemple #8
0
 public static void AddProject(VsTemplateInfo vsversion, string projectname)
 {
     File.Create(Path.Combine(vsversion.FullPath, String.Concat(projectname, "_csproj", ".xslt")));
 }
Exemple #9
0
 public static void AddSolution(VsTemplateInfo vsversion, string solutionname)
 {
     File.Create(Path.Combine(vsversion.FullPath, String.Concat(solutionname, "_sln", ".xslt")));
 }
Exemple #10
0
 public static void DeleteVsTemplate(VsTemplateInfo vstemplate)
 {
     Directory.Delete(vstemplate.FullPath, true);
 }