Synthesis icon indicating copy to clipboard operation
Synthesis copied to clipboard

Feature Request: Make ViewModelTypeResolver work with precompiled views

Open mrambold opened this issue 5 years ago • 0 comments

We are using precompiled views with RazorGenerator.MsBuild and do not want to deploy the .cshtml files anymore. But if the .cshtml files are not in the Views folder, the ViewModelTypeResolver throws exceptions, since BuildManager.GetCompiledType(viewPath) expects those files to physically be there. It would be great if the type resolving could take the precompiled views into account (maybe by using the ViewEngineCollection?).

We use Sitecore 9.1 and Synthesis 9.1.0.2-beta1.

mrambold avatar Mar 29 '19 10:03 mrambold