I have three projects:
- WebBase => this project contains
_ViewImports.cshtml
and is an RCL project. - Galleries => this project is a module, that uses
WebBase
for some common base things, and also contains items related to galleries. And it is also an RCL project. - SiteBuilder => this is my orchestrator project, that combines all modules together in one panel.
Now, the problem is that my _ViewImports.cshtml
which is in WebBase
is not recognized by compiler in my Galleries
project. Thus my <partial>
tags are not rendered. And I have to copy/paste that _ViewImports.cshtml
to the Galleries
projects too.
How can I reuse _ViewImports.cshtml
?