My Asp.net (cshtml) application consists of multiple modules stored in different directories. There is a shared directory that contains both the _layout and CSS files. Strangely, when I reference this layout file in other files that inherit from it, the CSS and layout do not reflect, even though the C# functionality is working fine.
However, if I manually place a copy of the _layout file in each inheriting directory and reference this local file in the inheriting files, the layout, look, and feel are properly inherited.
What could be causing this issue?