Add MVC controller with views using Entity Framework (2.0)

A controller will not be created when a new MVC 5 controller is added using views using the Entity Framework.

Error message:

Error message

Output Window:

Finding the generator 'controller'...
Running the generator 'controller'...
Attempting to compile the application in memory.
Attempting to figure out the EntityFramework metadata for the model and DbContext: 'DayRateEmps'
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
User profile is available.
Using 'C:\Users\xxx.yyy\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
Process is terminating due to StackOverflowException.
+4
source share

Source: https://habr.com/ru/post/1688564/


All Articles