I have my Views path using the same structure as my Areas, for instance Area:
Main/Home/Detail/
I have 3 areas then, Main, Home and Detail, so I have placed my views under this folder ->
{Root}/Main/Home/Detail/Views
So when I run the app in debug mode, the framework is able to find my views, but when I use the release mode, then the views are not found since it is looking under the "Default" folders (~/Views/). Is there a setting or something in this AttributeRouting lib to kind of specify or register a new path to find the views?
This isn't something AR can help with. You need to write a custom view resolver. Cannot remember the base type you need to use or register off the top of my head. But should be easy enough to find with Google.
I have my Views path using the same structure as my Areas, for instance Area:
Main/Home/Detail/
I have 3 areas then, Main, Home and Detail, so I have placed my views under this folder ->
{Root}/Main/Home/Detail/Views
So when I run the app in debug mode, the framework is able to find my views, but when I use the release mode, then the views are not found since it is looking under the "Default" folders (~/Views/). Is there a setting or something in this AttributeRouting lib to kind of specify or register a new path to find the views?
Thanks!