Open Closed

Unable to add module into existing solution #3388


User avatar
0
nhontran created
  • ABP Framework version: v5.2.2
  • 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:"

Hi, I have tried to add the CMS Kit module into my existing solution but getting this error:

C:\Users\Admin\source\repos\AbpModuleTemplate>abp add-module Volo.CmsKit.Pro
[10:48:41 INF] ABP CLI (https://abp.io)
[10:48:41 INF] Version 5.2.2 (Stable)
[10:48:42 WRN] ABP CLI has a newer stable version 5.3.1, please update to get the latest features and fixes.
[10:48:42 WRN]
[10:48:42 WRN] Update Command:
[10:48:42 WRN] dotnet tool update -g Volo.Abp.Cli
[10:48:42 WRN]
[10:48:43 INF] Installing module 'Volo.CmsKit.Pro' to the solution 'AbpModuleTemplate'
[10:48:43 INF] Checking installed npm global packages...
Build started...
Build succeeded.
Your startup project 'AbpModuleTemplate.EntityFrameworkCore' doesn't reference Microsoft.EntityFrameworkCore.Design. This package is required for the Entity Framework Core Tools to work. Ensure your startup project is correct, install the package, and try again.

I am using the totally new startup template solution, no customization at all. any idea?


6 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Your startup project 'AbpModuleTemplate.EntityFrameworkCore' doesn't reference Microsoft.EntityFrameworkCore.Design. This package is required for the Entity Framework Core Tools to work. Ensure your startup project is correct, install the package, and try again.

    Can you try to add the Microsoft.EntityFrameworkCore.Design package to EntityFrameworkCore?

    We will investigate this.

  • User Avatar
    0
    nhontran created

    Hi @maliming, thanks, I realized that I had tried to add Cms.Kit module into an existing module template instead of application template.

    This issue does not happens in application template.

  • User Avatar
    0
    nhontran created

    However, I got another problem after adding CmsKit.Pro module, there is no update on the database level.

    I know that the Angular UI is not supported for this module, but the administration and management CMS functions should be supported, right?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    However, I got another problem after adding CmsKit.Pro module, there is no update on the database level.

    You can remove the empty migration.

    I know that the Angular UI is not supported for this module, but the administration and management CMS functions should be supported, right?

    I think so.

  • User Avatar
    0
    nhontran created

    Hi @maliming, Thanks for your prompt reply. if the CMS admin function is available in Angular UI, can guide me how to enable it?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    CMS KIT module only supports MVC and Blazor.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09