public static void CompleteDetailedReport(string outputPath)
 {
     using (var razor = new RazorSynchronizedServices())
     {
         File.WriteAllText(outputPath, razor.Run(TestXmlCompareHandler.Differences, "ResultReport"));
     }
 }
        private static void CompileTemplate(string name)
        {
            string template = LoadTemplate(typeof(ResultProcessor).Assembly,
                                           typeof(ResultProcessor).Namespace + ".ReportTemplates." + name + ".cshtml");

            using (var razor = new RazorSynchronizedServices())
            {
                razor.CompileWithAnonymous(template, name);
            }
        }