private static string DetermineLanguageForTemplate(string templateContent)
{
// Only support VB and C#
if (Regex.IsMatch(templateContent, @"\<\#\@\s*\bTemplate\b(.*?\b)?Language=""VB[^""]*""(.*?)\#\>", RegexOptions.Singleline | RegexOptions.IgnoreCase))
return "vb";
return "cs";
}