Visual Studio error “Object reference not set to an instance of an object” after install of ASP.NET and Web Tools 2015

前端 未结 18 2286
名媛妹妹
名媛妹妹 2020-11-27 10:37

After installing the ASP.NET and Web Tools 2015 (RC1 update 1) I get the following error within ASP.NET MVC 4 projects when opening *.cshtml files:

18条回答
  •  时光说笑
    2020-11-27 10:44

    In my case (not necessarily be the solution for you, but it may be helpful for someone), the solution was:

    1. Go menu ToolsExtensions and Updates

    2. Select the Online tab from the right panel

    3. Search for the words web tools, and then select Microsoft ASP.NET and Web Tools and install it.

    In my case, this was missing from my computer because of a lot of repairing operations for Visual Studio.

提交回复
热议问题