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

前端 未结 18 2274
名媛妹妹
名媛妹妹 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:56

    Delete bin and obj folders in all projects of that solution.

    Seems like those folders were having old files generated by some older version of visual studio, which are not compatible with new version of visual studio.

提交回复
热议问题