예제 #1
0
        public static string compile(this DotNet_AspNet_Compiler aspnetCompiler, string websiteToCompile, string targetFolder, string virtualPath)
        {
            var commands = " -v \"{0}\" -p \"{1}\" -d -f \"{2}\"".format(virtualPath, websiteToCompile, targetFolder);

            "Commands to execute: {0}".info(commands);
            return(aspnetCompiler.execute(commands));
        }
예제 #2
0
 public static string help(this DotNet_AspNet_Compiler aspnetCompiler)
 {
     return(aspnetCompiler.execute("-?"));
 }