November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Try adding a web.config on your Views folder where your module Index.cshtml is. The system needs to know which assembly to get the HtmlHelper from.
I'm trying to add a new menuItem to the global navigation, following the example below:
https://world.episerver.com/documentation/developer-guides/CMS/user-interface/Extending-the-navigation/
Although then hitting these lines:
I get the following errors:
'HtmlHelper' does not contain a definition for 'ShellInitializationScript' and no extension method 'ShellInitializationScript' accepting a first argument of type 'HtmlHelper' could be found (are you missing a using directive or an assembly reference?)
Error CS1929 'HtmlHelper' does not contain a definition for 'GlobalMenu' and the best extension method overload 'MenuHelper.GlobalMenu(HtmlHelper)' requires a receiver of type 'HtmlHelper'
Entire code looks like this:
Anybody knows why?