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