Skip to content

Feature Request: Make ViewModelTypeResolver work with precompiled views #83

@mrambold

Description

@mrambold

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions