Activities of "dignite"

  • ABP Framework version: v8.3.1
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:

2024-11-27 00:42:39.086 +09:00 [ERR] CreateAssembly failed Build failed (10,67): error CS0115: “Template.ExecuteAsync()”: No suitable method was found to rewrite (12,13): error CS0103: Name does not exist in the current context “WriteLiteral”

at Volo.Abp.TextTemplating.Razor.AbpRazorTemplateCSharpCompiler.CreateAssembly(String code, String assemblyName, List1 references, CSharpCompilationOptions options) at Volo.Abp.TextTemplating.Razor.DefaultAbpCompiledViewProvider.GetAssemblyStreamAsync(TemplateDefinition templateDefinition, String templateContent) at Volo.Abp.TextTemplating.Razor.DefaultAbpCompiledViewProvider.<>c__DisplayClass7_0.<<GetAssemblyAsync>g__CreateAssembly|0>d.MoveNext() --- End of stack trace from previous location --- at Volo.Abp.TextTemplating.Razor.DefaultAbpCompiledViewProvider.GetAssemblyAsync(TemplateDefinition templateDefinition) at Volo.Abp.TextTemplating.Razor.RazorTemplateRenderingEngine.RenderTemplateContentWithRazorAsync(TemplateDefinition templateDefinition, String body, Dictionary2 globalContext, Object model) at Volo.Abp.TextTemplating.Razor.RazorTemplateRenderingEngine.RenderSingleTemplateAsync(TemplateDefinition templateDefinition, String body, Dictionary2 globalContext, Object model) at Volo.Abp.TextTemplating.Razor.RazorTemplateRenderingEngine.RenderInternalAsync(String templateName, String body, Dictionary2 globalContext, Object model) at Volo.Abp.TextTemplating.Razor.RazorTemplateRenderingEngine.RenderInternalAsync(String templateName, String body, Dictionary2 globalContext, Object model) at Volo.Abp.TextTemplating.Razor.RazorTemplateRenderingEngine.RenderAsync(String templateName, Object model, String cultureName, Dictionary2 globalContext) at Volo.Abp.TextTemplating.AbpTemplateRenderer.RenderAsync(String templateName, Object model, String cultureName, Dictionary`2 globalContext)

  • Steps to reproduce the issue: *The razor-based templates were developed according to the https://abp.io/docs/8.3/framework/infrastructure/text-templating/razor documentation, and carefully cross-referenced against https://github.com/abpframework/abp-samples/tree/master/TextTemplateDemo/Razor code. The template I developed is built in the Domain project.
Showing 1 to 1 of 1 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09