(VS2017) There was an error running the selected code generator: 'Sequence contains no elements'

前端 未结 13 2433
忘了有多久
忘了有多久 2021-01-04 11:34

I\'m running through one of Microsoft\'s tutorials on MVC development and I\'m getting errors when trying to create various elements; Views, Controllers, etc.

The e

13条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-04 11:44

    This worked for me for VS 2017.

    Close the opened instance of VS 2017. Open it again. Rebuild the solution and now create View, Controller etc. It will be created now.

提交回复
热议问题