I\'m using Visual Studio 2019 version 16.0.4, and I tried to create a view or a partial one on asp.net core 2.1 (in views folder) but I get an error
I solved it by downgrade Microsoft.VisualStudio.Web.CodeGeneration.Design on version 2.2.4 from 3.x. from Nuget packages for my solution. I hope it helps some one.