Razor Intellisense Not Working VS2010 SP1Rel MVC3 from WPI Win7 x64

前端 未结 12 1599
迷失自我
迷失自我 2020-12-10 12:42

I have Visual Studio 2010 /SP1 / MVC 3 (With April Tools Update) installed on a machine with a fresh install of Windows 7 64-bit Professional.

I do not have resharp

12条回答
  •  抹茶落季
    2020-12-10 13:15

    I just wasted 2 hours of my life on this. What happened to me is that the web.config file got checked in wrong and was no longer Unicode UTF8. When VS 2010 opened the solution, it checks the web.config file for the appsettings:

    
    
    

    Since the file couldn't be read by normal means, it just skipped it entirely, causing VS to think you needed to reinstall MVC... I just wanted to post this in case someone else runs into the same problem for an easy fix.

提交回复
热议问题