When scaffolding a controller in ASP Core 2.0 VS 2017 I get the following:
Could not get the reflection type for DbContext : BE.Data.ApplicationDb
Could not get the reflection type for DbContext :
BE.Data.ApplicationDb
I get this error when I generate the EF model by Scaffold-DbContext command and this finished with warnings. Then firstable I correct the warnings of Scaffold-DbContext and then scaffold razor items works fine.