Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
During my upgrade from 4.10 to 4.11 I noticed that the (new) 4.11 has an additional namespace in \views\Web.config:
4.10:
<system.web.webPages.razor> <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <pages pageBaseType="System.Web.Mvc.WebViewPage"> <namespaces> <add namespace="System.Web.Mvc" /> <add namespace="System.Web.Mvc.Ajax" /> <add namespace="System.Web.Mvc.Html" /> <add namespace="System.Web.Routing" /> <add namespace="Umbraco.Web" /> <add namespace="Umbraco.Core" /> <add namespace="Umbraco.Core.Models" /> </namespaces>
4.11:
<system.web.webPages.razor> <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <pages pageBaseType="System.Web.Mvc.WebViewPage"> <namespaces> <add namespace="System.Web.Mvc" /> <add namespace="System.Web.Mvc.Ajax" /> <add namespace="System.Web.Mvc.Html" /> <add namespace="System.Web.Routing" /> <add namespace="Umbraco.Web" /> <add namespace="Umbraco.Core" /> <add namespace="Umbraco.Core.Models" /> <add namespace="Umbraco.Web.Mvc" /> </namespaces> </pages>
Should the namespace "Umbraco.Web.Mvc" be added during the upgrade?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
System.Web.Routing - update when upgrading to 4.11?
During my upgrade from 4.10 to 4.11 I noticed that the (new) 4.11 has an additional namespace in \views\Web.config:
4.10:
4.11:
Should the namespace "Umbraco.Web.Mvc" be added during the upgrade?
is working on a reply...