visual studio 2012 - VS 2013 does not recognize some objects on razor cshtml -


When I VS If I open the project in 2013, there is some problem in recognizing some object on CSSMT razor files and intelligence is out. Enter the image details here VS 2012 everything is fine on its web. Need some changes on config or vs settings? Here is web.config:

  & lt; Configuration & gt; & Lt; ConfigSections & gt; & Lt; SectionGroup name = "system.web.webPages.razor" type = "System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version = 1.0.0.0, Culture = Neutral, PublicKeyToken = 31BF3856AD364E35" & Gt; & Lt; Remove name = "host" /> & Lt; Name = "page" /> Remove & lt; Section name = "host" type = "system web.page razor configuration.hostation, system web.page.razer, version = 1.0.0.0, culture = neutral, public token = 31BF3856AD364E35" requirePermission = "false "/> & Lt; Section name = "page" type = "system web.page razor configuration.Razer publish, system.webpagepage.razer, version = 1.0.0.0, culture = neutral, public token = 31BF3856AD364E35" requirePermission = "false "/> & Lt; / SectionGroup & gt; & Lt; / ConfigSections & gt; & Lt; System.web.webPages.razor & gt; & Lt; Host factoryType = "System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, version = 3.0.0.0, culture = neutral, public keycut = 31bf3856ad364e35" /> & Lt; Page pageTap = "Orchard.MVC.WeVignin.ReserWebWebpage" & gt; & Lt; Namespace & gt; & Lt; Add namespace = "System.Web.Mvc" /> & Lt; Add Namespace = "System.Web.Mvc.Ajax" /> & Lt; Add Namespace = "System.Web.Mvc.Html" /> & Lt; Add Namespace = "System.Web.Routing" /> & Lt; Add namespace = "System.Web.WebPages" /> & Lt; Add namespace = "System.Linq" /> & Lt; Add namespace = "System.Collections.Generic" /> & Lt; Add namespace = "Orchard.Mvc.Html" /> & Lt; / Namespace & gt; & Lt; / Pages & gt; & Lt; /system.web.webPages.razor> & Lt; System.web & gt; & Lt; Collection Target Framework = "4.0" & gt; & Lt; Assemblies & gt; & Lt; Add assembly = "System.Web.Abstractions, version = 4.0.0.0, culture = neutral, public token = 31bf3856ad364e35" /> & Lt; Add Assembly = "System.Web.Routing, Version = 4.0.0.0, Culture = Neutral, Public Token = 31bf3856ad364e35" /> & Lt; Add assembly = "System.Data.Linq, version = 4.0.0.0, culture = neutral, public token = B77A5C561934E089" /> & Lt; Add assembly = "System.Web.Mvc, version = 3.0.0.0, culture = neutral, public token = 31bf3856ad364e35" /> & Lt; Add Assembly = "System.Web.WebPages, Version = 1.0.0.0, Culture = Neutral, PublicKeyToken = 31bf3856ad364e35" /> & Lt; / Assemblies & gt; & Lt; / Compilation & gt; & Lt; /system.web> & Lt; / Configuration & gt;  

This link fixes the problem


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -