Closed dolphinsd closed 5 years ago
I've just tested and it's working properly. Are you trying the "application template", right?
@hikalkan I thinks he's problem is about Test projects. They have referencing to EntityFramework which isn't existed. https://github.com/abpframework/abp/blob/49901a76397308e7acbdc9819cd63e33f18b3b4a/templates/mvc/test/MyCompanyName.MyProjectName.Application.Tests/MyCompanyName.MyProjectName.Application.Tests.csproj#L10
Actually, the downloaded solution has no reference to these projects:
test folder is empty if you select mongodb. It's included in the zip file by mistake. Anyway, I created an issue to make tests working for mongodb too: https://github.com/abpframework/abp/issues/718
@hikalkan I used https://abp.io/Templates to create a project. I just did again. See images attached and project, mvc version has object mappings. Test.zip
hi @dolphinsd
I've built your project. There is no warning or error. Am i missing something?
Could not reproduce
@hikalkan , i did not see any mongo objects definitions, even it compiles, it does nothing as no objects are defined.
i did not see any mongo objects definitions
Didn't understand. What mongo objects? When you start the application, a seed data inserted to the database related to users, roles and permissions. Can't you see it (you can check with MongoDB Compass)?
@hikalkan i just start the application and then tried to login with admin user but it's not working. i also checked the MongoDB Compass but there are no data. However, i registered as a new user in the application and it is working fine but without any roles.
@devjaw have you run *.DbMigrator project?
@yekalkan it works now ! thank you
When using https://abp.io/Templates to create mongodb based project, the project created with no mongodb database objects defined and does not run.