This project is read-only.

Newer physical views are not found

Jan 22, 2014 at 11:12 PM
Hi,

I use CompositePrecompiledMvcEngine to render views precompiled in application and all plugins. Every PrecompiledViewAssembly has PreemptPhysicalFiles and UsePhysicalViewsIfNewer se to true.

Everyting works as expected except that newer physical views are not found. It throws InvalidOperationException.

Am I missing something?

Dusan
Feb 14, 2014 at 11:44 AM
No answers?
Feb 14, 2014 at 5:56 PM
Can you try going through these steps to see if this can be isolated to something we can see in our sample app?

thanks,
David
Feb 15, 2014 at 10:39 AM
Edited Feb 15, 2014 at 10:39 AM
I see where is the problem. I thought rendering of newer physical views is completely handled by PrecompiledMvcEngine, but it is not. It is necessary to have another view engine in ViewEngines.Engines collection. Thanks!
Marked as answer by djanosik on 2/19/2014 at 7:38 AM