diff --git a/src/EntityFramework.Commands/Design/Internal/StartupInvoker.cs b/src/EntityFramework.Commands/Design/Internal/StartupInvoker.cs index c9bae4f5618..63b2a382b10 100644 --- a/src/EntityFramework.Commands/Design/Internal/StartupInvoker.cs +++ b/src/EntityFramework.Commands/Design/Internal/StartupInvoker.cs @@ -32,6 +32,8 @@ public StartupInvoker( var startupAssembly = Assembly.Load(new AssemblyName(startupAssemblyName)); _startupType = startupAssembly.DefinedTypes.Where(t => t.Name == "Startup" + _environment) .Concat(startupAssembly.DefinedTypes.Where(t => t.Name == "Startup")) + .Concat(startupAssembly.DefinedTypes.Where(t => t.Name == "Program")) + .Concat(startupAssembly.DefinedTypes.Where(t => t.Name == "App")) .Select(t => t.AsType()) .FirstOrDefault(); }