Error executing template "Designs/Baseline/default.cshtml"
System.InvalidOperationException: A prior operation on this collection was interrupted by an exception. Collection's state is no longer trusted.
   at System.Runtime.CompilerServices.ConditionalWeakTable`2.Container.VerifyIntegrity()
   at System.Runtime.CompilerServices.ConditionalWeakTable`2.Container.CreateEntryNoResize(TKey key, TValue value)
   at System.Runtime.CompilerServices.ConditionalWeakTable`2.Add(TKey key, TValue value)
   at Microsoft.AspNetCore.Razor.Language.Syntax.InternalSyntax.MarkupTextLiteralSyntax.SetAnnotations(SyntaxAnnotation[] annotations)
   at Microsoft.AspNetCore.Razor.Language.Legacy.TokenizerBackedParser`1.GetNodeWithSpanContext[TNode](TNode node)
   at Microsoft.AspNetCore.Razor.Language.Legacy.TokenizerBackedParser`1.OutputAsMarkupLiteral()
   at Microsoft.AspNetCore.Razor.Language.Legacy.HtmlMarkupParser.OtherParserBlock(SyntaxListBuilder`1& builder)
   at Microsoft.AspNetCore.Razor.Language.Legacy.HtmlMarkupParser.ParseDocument()
   at Microsoft.AspNetCore.Razor.Language.Legacy.RazorParser.Parse(RazorSourceDocument source)
   at Microsoft.AspNetCore.Razor.Language.DefaultRazorEngine.Process(RazorCodeDocument document)
   at Microsoft.AspNetCore.Razor.Language.RazorTemplateEngine.GenerateCode(RazorCodeDocument codeDocument)
   at RazorEngine.Compilation.CompilerServiceBase.GenerateCodeFile(RazorTemplateEngine templateEngine, RazorCodeDocument document)
   at RazorEngine.Compilation.CompilerServiceBase.GetGeneratorResult(IEnumerable`1 namespaces, TypeContext context)
   at RazorEngine.Compilation.CompilerServiceBase.GetCodeCompileUnit(TypeContext context)
   at Dynamicweb.Rendering.Compatibility.RoslynCompilerServiceBase.CompileType(TypeContext context)
   at RazorEngine.Templating.RazorEngineCore.CreateTemplateType(ITemplateSource razorTemplate, Type modelType)
   at RazorEngine.Templating.RazorEngineCore.Compile(ITemplateKey key, Type modelType)
   at RazorEngine.Templating.RazorEngineService.CompileAndCacheInternal(ITemplateKey key, Type modelType)
   at RazorEngine.Templating.RazorEngineService.GetCompiledTemplate(ITemplateKey key, Type modelType, Boolean compileOnCacheMiss)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.DynamicWrapperService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(IRazorEngineService service, String name, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.<RunCompile>b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(IRazorEngineService service, String name, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.RunCompile(IRazorEngineService service, String templateSource, String name, Type modelType, Object model, DynamicViewBag viewBag)
   at Dynamicweb.Rendering.RazorTemplateRenderingProvider.Render(Template template)
   at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> 2 @using Application.Extensions 3 4 5 <!doctype html> 6 <html lang="@CultureExtensions.GetAreaCulture(Model.Area)" data-area-id="@Pageview.Area.ID" data-page-id="@Pageview.Page.ID" data-ecom-lang="@Pageview.Area.EcomLanguageId"> 7 <head> 8 <meta charset="UTF-8"> 9 @RenderPartial("partials/meta/seo.cshtml", this.Model) 10 @RenderPartial("partials/assets/styles.cshtml", this.Model, new Dictionary<string, object> { { "UseWatchedAssets", DeveloperExtensions.UseWatchedAssets(Model.Area) } }) 11 @RenderPartial("partials/meta/favicons.cshtml", this.Model) 12 @RenderPartial("partials/meta/social.cshtml", this.Model) 13 @RenderPartial("partials/meta/schema.cshtml", this.Model) 14 @RenderPartial("partials/assets/google.cshtml", this.Model) 15 <meta name="viewport" content="width=device-width" /> 16 17 @* Fonts *@ 18 <link rel="preconnect" href="https://fonts.googleapis.com"> 19 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> 20 <link rel="preload" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" as="style" type="text/css"> 21 <link rel="preload" href="https://fonts.googleapis.com/css2?family=Alegreya:wght@500;700&display=swap" as="style" type="text/css"> 22 <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet"> 23 <link href="https://fonts.googleapis.com/css2?family=Alegreya:wght@500;700&display=swap" rel="stylesheet"> 24 </head> 25 <body> 26 @RenderSnippet("GoogleNoScript") 27 <div id="app"> 28 @RenderPartial("partials/layout/navigation.cshtml", this.Model) 29 <main id="main"> 30 31 32 @Model.Grid("contentgrid", "Grid", "", "Page") 33 </main> 34 @RenderPartial("partials/layout/footer.cshtml", this.Model) 35 <div id="eventInfoBar"></div> 36 <div id="modal"></div> 37 </div> 38 @RenderPartial("partials/assets/scripts.cshtml", this.Model, new Dictionary<string, object> { { "UseWatchedAssets", DeveloperExtensions.UseWatchedAssets(Model.Area) } }) 39 </body> 40 </html> 41