No context type was found in the assembly EF6
问题 I'm working on a nopCommerce based project. In order to update custom entity I want to enable EF migrations. So I run following command: Enable-Migrations -StartUpProjectName nop.web -ContextProjectName Nop.Plugin.Payments.Deposit -verbose and get the error: Using StartUp project 'Nop.Web'. System.Data.Entity.Migrations.Infrastructure.MigrationsException: No context type was found in the assembly 'Nop.Plugin.Payments.Deposit'. at System.Data.Entity.Utilities.TypeFinder.FindType(Type baseType,