DamianEdwards / RazorSlices

Lightweight Razor-based templates for ASP.NET Core without MVC, Razor Pages, or Blazor.
MIT License
297 stars 12 forks source link

AddRazorRuntimeCompilation #39

Closed sovantha closed 3 months ago

sovantha commented 3 months ago

Just wondering if runtime compilation option can be enabled or not?

DamianEdwards commented 3 months ago

I have no plans to enable it. Runtime compilation requires the app to reference the full C# compiler toolchain (aka Roslyn) and wouldn't support trimming or native AOT (which I plan to support).

sovantha commented 3 months ago

Understand that. Thank you.