No Intellisense in views updating from ASP.NET MVC 4 to MVC 5

前端 未结 6 736
攒了一身酷
攒了一身酷 2021-02-01 16:19

I just updated an mvc4 project (using vs2012) to mvc5. After having a lot of issues related to dependencies, I finally found this tutorial and straightened things up so that it

6条回答
  •  广开言路
    2021-02-01 16:29

    The tooltip of the "@model" tag at the very top of my razor view file stated that autofac 3.4.0.0 could not be found. All my projects used Autofac 3.1.5, so I added a redirect in web.config to quickly work around the issue:

    
        
            
                
                
            
            ...
    

    My intellisense was back and I then deferred the final fix to a low prio task :D

提交回复
热议问题