MVC 5 -> MVC 5.1 Migration. Intellisense issues

前端 未结 4 1589
清酒与你
清酒与你 2021-01-06 03:41

I just updated my project to MVC 5.1 from MVC 5. The main web.config file got updated automatically, but web.configs under main View and Areas folders weren\'t

4条回答
  •  执笔经年
    2021-01-06 04:17

    Found a solution from this MS article:

    MVC 5.1 Tooling Support and Razor IntelliSense are Still Broken Even After Installing VS2013 Update 1 RC

    Known issue:

    If a VS2013 user installed “Microsoft ASP.NET and Web Tools 2013.1 for Visual Studio 2013” before they install VS2013 Update 1 RC, they won’t be able to get MVC 5.1 tooling support that comes with VS2013 Update 1 RC.

    Symptom:

    MVC 5.1 tooling support and Razor IntelliSense are still broken even after installing VS2013 Update 1 RC.

    Workaround:

    1. From "Add/Remove Program", uninstall "Microsoft ASP.NET and Web Tools 2013.1 for Visual Studio 2013"
    2. Repair VS2013 RTM
    3. Install VS2013 update 1 RC if you have not yet installed it. If you have already installed this, you don’t need to reinstall or repair it.
    4. From Web PI, reinstall Microsoft ASP.NET and Web Tools 2013.1 for Visual Studio 2013 or repair Azure SDK 2.2.

提交回复
热议问题