Can I specify a _ViewImports.cshtml file from elsewhere in the folder hierarchy?

Viewed 19

I have a _ViewImports.cshtml file in my Views folder.
I have another view outside my views folder for which I'd like to use the same set of imports.
Is there a way to do this?
I was envisaging specifying the full path to \Views\_ViewImports.cshtml file at the top of my razor .cshtml file.

0 Answers
Related