Esempio n. 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);
     }
 }
Esempio n. 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);
     }
 }
Esempio n. 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;
 }
Esempio n. 4
0
 public static void AddProject(VsTemplateInfo vsversion, string projectname)
 {
     File.Create(Path.Combine(vsversion.FullPath, String.Concat(projectname, "_csproj", ".xslt")));
 }
Esempio n. 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;
 }
Esempio n. 6
0
 public static void AddSolution(VsTemplateInfo vsversion, string solutionname)
 {
     File.Create(Path.Combine(vsversion.FullPath, String.Concat(solutionname, "_sln", ".xslt")));
 }
Esempio n. 7
0
 public static void DeleteVsTemplate(VsTemplateInfo vstemplate)
 {
     Directory.Delete(vstemplate.FullPath, true);
 }
Esempio n. 8
0
 public static void AddProject(VsTemplateInfo vsversion, string projectname)
 {
     File.Create(Path.Combine(vsversion.FullPath, String.Concat(projectname, "_csproj", ".xslt")));
 }
Esempio n. 9
0
 public static void AddSolution(VsTemplateInfo vsversion, string solutionname)
 {
     File.Create(Path.Combine(vsversion.FullPath, String.Concat(solutionname, "_sln", ".xslt")));
 }
Esempio n. 10
0
 public static void DeleteVsTemplate(VsTemplateInfo vstemplate)
 {
     Directory.Delete(vstemplate.FullPath, true);
 }