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

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

    I am working on a Core 3 app and had this issue pop up when adding a controller. I figured out that the Microsoft.VisualStudio.Web.CodeGeneration.Design package was updated with a .net 4.x framework dll. Updating to the project to Core 3.1 fixed the issue.

提交回复
热议问题