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