Error compiling template "Designs/Swift/Custom_Email_Header.cshtml"
Line 10: The type or namespace name 'RazorTemplateBase<>' could not be found (are you missing a using directive or an assembly reference?)
Line 10: The type or namespace name 'RazorTemplateModel<>' could not be found (are you missing a using directive or an assembly reference?)
Line 10: The type or namespace name 'Template' could not be found (are you missing a using directive or an assembly reference?)
Line 15: The name 'WriteLiteral' does not exist in the current context
Line 17: The name 'Pageview' does not exist in the current context
Line 18: The name 'GetGlobalValue' does not exist in the current context
Line 19: The name 'WriteLiteral' does not exist in the current context
Line 20: The name 'BeginWriteAttribute' does not exist in the current context
Line 21: The name 'WriteAttributeValue' does not exist in the current context
Line 22: The name 'WriteAttributeValue' does not exist in the current context
Line 23: The name 'EndWriteAttribute' does not exist in the current context
Line 24: The name 'WriteLiteral' does not exist in the current context
Line 25: The name 'Write' does not exist in the current context
Line 25: The name 'Translate' does not exist in the current context
Line 26: The name 'WriteLiteral' does not exist in the current context
Line 27: The name 'Write' does not exist in the current context
Line 27: The name 'Translate' does not exist in the current context
Line 28: The name 'WriteLiteral' does not exist in the current context

1 // <auto-generated/> 2 #pragma warning disable 1591 3 namespace CompiledRazorTemplates.Dynamic 4 { 5 #line hidden 6 using System.Threading.Tasks; 7 using System; 8 using System.Collections.Generic; 9 using System.Linq; 10 internal class RazorEngine_fa8192e3c0f44486a684265b5879c569 : RazorTemplateBase<RazorTemplateModel<Template>> 11 { 12 #pragma warning disable 1998 13 public async override global::System.Threading.Tasks.Task ExecuteAsync() 14 { 15 WriteLiteral(" \r\n"); 16 17 string customEmailLogo = Pageview.AreaSettings.GetString("Email_Header_Logo"); 18 string baseurl=Dynamicweb.Context.Current.Request.Url.Scheme+"://"+GetGlobalValue("Global:Request.Host"); 19 WriteLiteral("\r\n<div style=\"width: 640px;margin:10px auto;\">\r\n <center>\r\n <img"); 20 BeginWriteAttribute("src", " src=\"", 338, "\"", 372, 2); 21 WriteAttributeValue("", 344, baseurl, 344, 10, false); 22 WriteAttributeValue("", 354, customEmailLogo, 354, 18, false); 23 EndWriteAttribute(); 24 WriteLiteral(" alt=\"zieglerbolt\" width=\"80\" style=\"width:80px;text-align:center;\" /> \r\n <div style=\"font-size:30px;color:#800000;padding: 10px 0px;\">"); 25 Write(Translate("Ziegler Bolt")); 26 WriteLiteral("</div>\r\n <div style=\"font-size:16px;\">"); 27 Write(Translate("Fastener Supplier Since 1964")); 28 WriteLiteral("</div>\r\n </center>\r\n</div>\r\n"); 29 } 30 #pragma warning restore 1998 31 } 32 } 33 #pragma warning restore 1591 34

1 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 2 3 @{ 4 string customEmailLogo = Pageview.AreaSettings.GetString("Email_Header_Logo"); 5 string baseurl=Dynamicweb.Context.Current.Request.Url.Scheme+"://"+GetGlobalValue("Global:Request.Host"); 6 } 7 8 <div style="width: 640px;margin:10px auto;"> 9 <center> 10 <img src="@(baseurl)@(customEmailLogo)" alt="zieglerbolt" width="80" style="width:80px;text-align:center;" /> 11 <div style="font-size:30px;color:#800000;padding: 10px 0px;">@Translate("Ziegler Bolt")</div> 12 <div style="font-size:16px;">@Translate("Fastener Supplier Since 1964")</div> 13 </center> 14 </div> 15