Example #1
0
        public static string Run(PfxCompilerOptions options, bool redirect)
        {
            string cmd  = Path.Combine(GetPath(), "pfc.exe");
            string args = options.ToString();
            int    exitCode;

            return(CommandPromt.Run(cmd, args, out exitCode, false, redirect));
        }
Example #2
0
        public static CompilerErrorCollection RunErr(PfxCompilerOptions options)
        {
            string cout   = Run(options, true);
            var    errors = ParseOutput(cout);

            if (errors.HasErrors)
            {
                Console.WriteLine(cout);
            }
            return(errors);
        }
Example #3
0
 public static string Run(PfxCompilerOptions options)
 {
     return(Run(options, true));
 }