Can't Add View from Controller in VS 2015 : “There was an error running the selected code generator”

前端 未结 21 2330
独厮守ぢ
独厮守ぢ 2020-11-27 18:34

I\'m following a video tutorial where I\'m required to create an empty ASP.NET Web Application with MVC, using Visual Studio 2015, bei

21条回答
  •  爱一瞬间的悲伤
    2020-11-27 19:40

    Try clearing the ComponentModelCache,

    1.Close Visual Studio

    2.Delete everything in this folder C:\Users\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache

    3.Restart Visual Studio

    4.Check again

    this also used VS2017 to get solution

提交回复
热议问题