Synthesis
Synthesis copied to clipboard
Feature Request: Make ViewModelTypeResolver work with precompiled views
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.