Enable Runtime Compilation in ASP.Net RCL Project

88 Views Asked by At

I have created a new Razor Class Library (.Net 5) and added it as a Project reference in another ASP.Net Core Web application . In this Web app, I added services.AddControllersWithViews().AddRazorRuntimeCompilation() in Startup.cs. Now any view page changes under web application is immediately reflecting in browser without rebuilding the code. But it is not working for any views in RCL project. How can I enable runtime compilation in RCL as well?

0

There are 0 best solutions below