- ABP Framework version: v7.0.0
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace:
- Steps to reproduce the issue:"
While Migration Dotnet Core Solution ABP version from 6.0.3 to 7.0.0, as per migration guide abp is adding 2 new tables, so while running DbMigrator Project after changing the .Net framework version 7 and ABP Version to 7.0.0, I am getting below errors.
Note: Solution is upgraded to OpenIdDict.
6 Answer(s)
-
0
Hi,
Hi, you can add
options.AddDataMigrationEnvironment();
to the DbMigratorHostedService like:https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.DbMigrator/DbMigratorHostedService.cs#L31
-
0
And need to check if all volo packages are upgraded to 7.0.0.
Also run
abp clean
anddotnet build
command -
0
Hi,
Hi, you can add
options.AddDataMigrationEnvironment();
to the DbMigratorHostedService like:https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.DbMigrator/DbMigratorHostedService.cs#L31
After adding this line of code, DbMigrations are done, but when I ran my solution I am getting below.
-
0
Hi.
Can you share the error log? thanks.
-
0
Hi.
Can you share the error log? thanks.
log files are not generating
-
0
Can you share a project that can reproduce the problem with me? shiwei.liang@volosoft.com I will check it