We are using Tridion 2013 and the Razor mediator.
We import Razor Helper Functions in the Tridion.ContentManager.Config file, like so:
<add import="/webdav/xxx Design Master/Building Blocks/System/Templates/TBBs/Razor/Razor Helper Functions.cshtml" />
This works fine when we save a Component Template that references a function in the helper file.
It works fine when we preview a Component Presentation or Page.
However when we publish a page, we get failed status and the following error:
TemplateCompileException: CS0103: The name 'GetPageTitle' does not exist in the current context
We've tried restarting all the Tridion services, IIS and even the server itself.
The publisher is not scaled out, this is an-all-in one development server.
What steps do we need to follow to ensure the imported Razor Helper functions can be picked up by the publisher service?