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

前端 未结 21 2075
独厮守ぢ
独厮守ぢ 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:39

    None of these solutions worked for me. I just updated Visual Studio (updates were available) and suddenly it just works.

    0 讨论(0)
  • 2020-11-27 19:40

    just in case someone is interested - the solution with clean cache didnt work for me. but i've managed to solve an issue but uninstalling all .Net frameworks in the system and then install them back one by one.

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题