Asp.net Core Applications Issue with Razor and MVC Pages
问题 I have reinstalled my VS 2019 and cloned my applications on my machine. But suddenly all the applications stopped showing add -> Controller --> MVC 5 Controller and its View. After rebuild my application is converted into Razor from MVC Core 3.1. and now all applications throws error of g.cshtml.cs file. Help me to fix this issues. Why my .net core MVC application is converted to Razor. Why application not adding MVC controller and view. 回答1: Create an empty ASP.NET Core MVC project Change