Error while generating view in Visual Studio 2019

后端 未结 3 585
旧巷少年郎
旧巷少年郎 2021-01-14 23:45

While I am creating an ASP.NET MVC view in Visual Studio 2019, I am getting this error:

There was an error running the selected code generator: \'the

3条回答
  •  灰色年华
    2021-01-15 00:29

    I ran into the same problem tomorrow, tried many manipulations found on different subjects, including yours, nothing worked. Finally, someone gave me a "solution" that let me continue my project, hence I'm sharing it here in case yours doesn't fit someone's issue: simply copy/paste any view...!

    Yeah, it doesn't make the resilient error go away, and you'll have to hand code each new view, but at least you'll be able to keep coding your project.

    Hope this helps.

提交回复
热议问题