-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
I believe I've followed the necessary steps to use precompiled .cshtml views but when I run my web app and click on various pages, I still see significant delays and see VBCSCompiler.exe appearing in Task Manager, leading me to believe that the precompiled views are not being used.
Do I have the wrong expectations about what this package does or am I doing something wrong?
I followed these steps, per the instructions on github:
- Added the StackExchange.Precompilation.Build and StackExchange.Precompilation nugets to web project which uses Razor and .cshtml files
- Added true to .csproj
- Cleared existing ViewEngines and added new instance of PrecompiledViewEngine followed by RoslynRazorViewEngine
In the build output I've verified StackExchange.Precompiler.exe is being run, and while debugging I've verified PrecompiledViewEngine is finding what seem to be precompiled views in the project's assembly. And yet, I still see long delays and VBCSCompiler being run whenever new cshtml views are accessed.
Metadata
Metadata
Assignees
Labels
No labels