@using BlogEngine.Core Failing on Helper .CSHTML Pages

Topics: Business Logic Layer, Controls
Jun 24, 2013 at 8:20 PM
I'm integrating BlogEngine into a large and complex existing web solution that was not previously set up to use Razor. My experience with Razor is fairly modest, and the cshtml pages have caused me a lot of issues.

One of those issues is that even though the rest of the web site acknowledges and uses the BlogEngine.Core code, the cshtml pages don't accept "@using BlogEngine.Core[.Anything]" as a valid reference, and they won't build.

Any thoughts on how something like that could be breaking down?
Jun 25, 2013 at 1:15 PM
Resolved. I'd put the App_Code into a sub-folder named BlogEngine, which caused the cshtml pages to think it should be looking for BlogEngine.Core within that directory. Renamed the subfolder and everything resolved.