Skip to content

If Views are in a different project than the hosting class the views won't be found #93

@mastoj

Description

@mastoj

I have a sample project showing the problem: https://github.com/mastoj/NestDemo/tree/DecoupleHosting

I am doing self hosting in two different ways. First I had it in the NestDemo project, but than I wanted to decouple hosting from application and tried to put the hosting in a separate project, NestDemo.SelfHost. That didn't work since AssemblyAppRoot in RazorViews removes the bin/debug part of the file path which is needed I think if you have the hosting and application separated.

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