MVC Razor view Intellisense broken in VS 2013/2015/2017

后端 未结 22 2328
失恋的感觉
失恋的感觉 2020-11-27 16:52

I have an existing project written in VS2010 which when loaded in VS2010 works perfectly.

When I load this same project in VS2013 the MVC Razor views contain lots of

22条回答
  •  囚心锁ツ
    2020-11-27 17:39

    Update the NuGet Packages using Package Manager console in Tool, Library package Manager..

    In command line.. PM> Update-Package This will update NuGet packages and verify the current version of System.web.MVC and update this version in web.config file under Views folder.

    
        
        
          
            
            
            
            
            
            
          
        
      
    

    Close the solution and Reopen.

    Hope this works !!!

提交回复
热议问题