I read this [useful article] that says I can create a library of inline helpers by putting them in a view in the special folder App_Code. When I moved my @helper
functions there, calls to extension helpers I have stopped working. I read [in this SO article] that there's an issue because the @helper
s are static but my extensions are not... I tried the 2 different ways but cannot make it work. It fails to recognise the existence of my extension helpers.
'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'Image'
my extension helper is called 'Image'. What should I be looking for?