umbracoMacroError Loading Razor Script (file: Speaking- Right- Side- Menu) 'umbraco.MacroEngines.DynamicNodeList' does not contain a definition for 'Take' at CallSite.Target(Closure , CallSite , Object , Int32 )
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at ASP._Page_macroScripts_Speaking_Right_Side_Menu_cshtml.Execute() in d:\inetpub\vhosts\tangent-design.com\subdomains\amaechiperformance\httpdocs\macroScripts\Speaking-Right-Side-Menu.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)1.305750102317470.087427
umbraco.MacroEngines.DynamicNodeList' does not contain a definition for 'Take'
Hi ,
Below is the code i am using to generate a list :
Trace:
umbracoMacro Error Loading Razor Script (file: Speaking- Right- Side- Menu) 'umbraco.MacroEngines.DynamicNodeList' does not contain a definition for 'Take' at CallSite.Target(Closure , CallSite , Object , Int32 )
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
at ASP._Page_macroScripts_Speaking_Right_Side_Menu_cshtml.Execute() in d:\inetpub\vhosts\tangent-design.com\subdomains\amaechiperformance\httpdocs\macroScripts\Speaking-Right-Side-Menu.cshtml:line 8
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
at System.Web.WebPages.WebPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage) 1.30575010231747 0.087427
umbracoMacro Loading IMacroEngine script [done] 1.30585228010823 0.000102
umbracoMacro Error loading MacroEngine script (file: Speaking-Right-Side-Menu.cshtml, Type: ''
'umbraco.MacroEngines.DynamicNodeList' does not contain a definition for 'Take'
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
I have upgraded from 4.8.1 to 4.9.0
Am i missing any reference or dll coz 'take' works fine in 4.7.1.1
Any help or suggestion will be highly appreciated.
Also is the umbraco.Linq.Core removed in the latest version 4.9.0
is working on a reply...