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

后端 未结 22 2295
失恋的感觉
失恋的感觉 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:31

    A combination of the following helped to solve the problem for me:

    • Creating a new MVC Project
    • Comparing the versions in the views web.config files of the existing and new projects
    • Fixing the versions accordingly (see below)
    • Deleting all files in the bin folder
    • Cleaning the solution
    • and finally rebuilding the solution
    
      
        
          
    [...]

提交回复
热议问题