SolutionModuleAdder default startup project migrator

pull/2659/head
Yunus Emre Kalkan 5 years ago
parent 071b3a9b32
commit a16f3f9124

@ -106,6 +106,11 @@ namespace Volo.Abp.Cli.ProjectModification
return;
}
if (string.IsNullOrWhiteSpace(startupProject))
{
startupProject = projectFiles.FirstOrDefault(p => p.EndsWith(".DbMigrator.csproj"));
}
var dbMigrationsProject = projectFiles.FirstOrDefault(p => p.EndsWith(".DbMigrations.csproj"));
if (dbMigrationsProject == null)

Loading…
Cancel
Save