- Template: app
- Created ABP Studio Version: 1.2.2
- Current ABP Studio Version: 1.2.2
- Tiered: Yes
- Multi-Tenancy: Yes
- UI Framework: blazor-webapp
- Theme: leptonx
- Theme Style: system
- Theme Menu Placement: side
- Run Install Libs: Yes
- Database Provider: mongodb
- Run Db Migrator: Yes
- Mobile Framework: none
- Public Website: Yes
- Social Login: Yes
- Include Tests: Yes
- Kubernetes Configuration: Yes
- Distributed Event Bus: rabbitmq
- Use Local References: No
- Optional Modules:
- GDPR
- FileManagement
- TextTemplateManagement
- LanguageManagement
- AuditLogging
- Chat
- OpenIddictAdmin
- Selected Languages: English, English (United Kingdom)
- Default Language: English
- Create Command: abp new AT1.Core -t app --tiered --ui-framework blazor-webapp --database-provider mongodb --theme leptonx --public-website --without-cms-kit --sample-crud-page --dont-run-bundling -chat -file-management
abp new-module widget2 -o AT1.Core\modules\widget2 -d mongodb -u blazor
Application is missing: MiniExcel Domain.Shared is missing: Volo.Abp.BlobStoring.Database.Domain.Shared Domain is missing: Volo.Abp.BlobStoring.Database.Domain MongoDb is missing: Volo.Abp.BlobStoring.Database.MongoDB MongoDb.Tests is missing: Volo.Abp.BlobStoring.Database.MongoDB
3 Answer(s)
-
0
When creating a new module with the ABP CLI (
abp new-module
), some required NuGet packages (such asMiniExcel
,Volo.Abp.BlobStoring.Database.Domain.Shared
,Volo.Abp.BlobStoring.Database.Domain
,Volo.Abp.BlobStoring.Database.MongoDB
, etc.) may not be automatically added to the generated module projects, especially when using MongoDB as the database provider or when certain features are expected by the solution template.This is a known limitation: the CLI-generated module template does not always include all dependencies that your main application or its modules require. You need to manually add missing NuGet packages to the relevant projects after module creation.
For example, if your application uses features like BlobStoring with MongoDB or MiniExcel, you should add the following packages manually to the corresponding projects:
Volo.Abp.BlobStoring.Database.Domain.Shared
(to Domain.Shared)Volo.Abp.BlobStoring.Database.Domain
(to Domain)Volo.Abp.BlobStoring.Database.MongoDB
(to MongoDb and MongoDb.Tests)MiniExcel
(to Application or where needed)
This manual step is required to align your module with the dependencies and features used in your main solution.
For more information on module development and dependencies, see:
Sources:
- https://docs.abp.io/en/abp/latest/Module-Development-Basics
- https://docs.abp.io/en/abp/latest/Startup-Templates/Application
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
-
0
Is this a limitation or by design? Is the source code open source? I will gladly add this so that the CLI does not generate broken modules by default.
-
0
hi
The
BlobStoring.Database
module is not an infrastructure module. You need to add it by yourself.Thanks.