aspnet-codegenerator: No code generators available, Even after adding Microsoft.VisualStudio.Web.CodeGeneration.Design
问题 Unable to generate scaffolding using aspnet-codegenerator , below is what I tried: Created an ASP.Net RazorPages application using dotnet new webapp Did a dotnet build Installed dotnet-aspnet-codegenerator using dotnet tool install --global dotnet-aspnet-codegenerator --version 3.1.4 Ran dotnet aspnet-codegenerator --help It says: No code generators are available in this project.Add Microsoft.VisualStudio.Web.CodeGeneration.Design package to the project as a NuGet package reference. Added the