Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Exception while using CLI to create a new project with --database-management-system Postgres Abp 4.2.0-rc.1 #7270

Closed
MAlshehri opened this issue Jan 15, 2021 · 1 comment

Comments

@MAlshehri
Copy link

I get this exception while trying to create a new project

command: abp new TestApp-t app -u angular -dbms PostgreSQL -v 4.2.0-rc.1

Deleting migrations...
[17:44:20 ERR] Could not find a part of the path 'C:\Dev\aspnet- 
core\src\TestApp.EntityFrameworkCore.DbMigrations\Migrations'.
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Dev\aspnet- 
core\src\TestApp.EntityFrameworkCore.DbMigrations\Migrations'.
at System.IO.FileSystem.GetFindData(String fullPath, WIN32_FIND_DATA& findData)
at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
at System.IO.Directory.Delete(String path, Boolean recursive)
at Volo.Abp.Cli.ProjectModification.EfCoreMigrationManager.RemoveAllMigrations(String solutionFolder) in 
D:\ci\Jenkins\workspace\abp-framework- 
release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\EfCoreMigrationManager.cs:line 44
at Volo.Abp.Cli.Commands.NewCommand.DeleteMigrationsIfNeeded(DatabaseProvider databaseProvider, 
DatabaseManagementSystem databaseManagementSystem, String outputFolder) in D:\ci\Jenkins\workspace\abp-framework- 
release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\NewCommand.cs:line 273
at Volo.Abp.Cli.Commands.NewCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in
D:\ci\Jenkins\workspace\abp-framework- 
release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\NewCommand.cs:line 229
at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework- 
release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 59
@hikalkan
Copy link
Member

Thanks for reporting this. Resolved by #7277
We will publish 4.2.0-rc.2 on Monday or Tuesday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants