8 Answer(s)
-
0
Hi, Can you provide steps to reproduce?
-
0
https://docs.abp.io/en/commercial/latest/startup-templates/module/creating-a-new-solution
Created Module Solution without user interface and run Update-Database command for the EF Core from Package Manager Console to generate database. got issue that more than one DbContext found.
there are two database. how to create those? IssueManagement_Main and IssueManagement_Module
-
0
I see that your screenshot contains
.Web
project. Are you sure you are creating a solution without a user interface?For --no-ui option:
- Set
Acme.IssueManagement.HttpApi.Host
as startup project and setAcme.IssueManagement.HttpApi.Host
as PMC defualt project. Then executeupdate-database
command. - Set
Acme.IssueManagement.IdentityServer
as startup project and setAcme.IssueManagement.IdentityServer
as PMC defualt project. then executeupdate-database
command.
For has user interface:
Set
Acme.IssueManagement.Web.Unified
as startup project and setAcme.IssueManagement.Web.Unified
as PMC defualt project. Then executeupdate-database
command. - Set
-
0
Hi,
Yes, i have created a solution without a user interface. given screenshot was just for reference.
I have run the update-datebase on HttpApi.Host and Idnetityserver but i am able to find only one database _main and not the other _module
Also when i run the HttpApi.Host project then i got below exception
Idnetityserver project working fine.
-
0
I can't reproduce your problem. Can I check your problem remotely?
-
0
Hi Yes. We can. Let me know how we can processed
-
0
Do you have teamview?
You can email to me the connection Id.
liangshiw@outlook.com
-
0
Hi,
I dont have teamviewer. I have shared skype id on email.
Thanks