Open Closed

I have one template project on base packages of abp 4.2.1 then I migrated that to 8.3.1 with abp commertial version. I have some wrapper functions which are on top of the abp but in .net core 8 getting some of the dependency related issue for back.jobs #8274


User avatar
0
  • ABP Framework version: v8.3.1
  • UI Type: MVC
  • Database System: EF Core (SQL Server.)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue: *Will share you Sample Template project on mail

17 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I can't build this solution

  • User Avatar
    0

    Shared you on mail

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Method 'GetServiceProviderHashCode' in type 'ExtensionInfo' from assembly 'Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite, Version=5.0.7.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' does not have an implementation.

    Method 'GetServiceProviderHashCode' in type 'ExtensionInfo' from assembly 'EntityFrameworkCore.SqlServer.HierarchyId, Version=2.1.0.0, Culture=neutral, PublicKeyToken=0c30ba8633cb7b1e' does not have an implementation

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Please upgrade all microsoft packages to the 8.0.x

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    And your solution miss some module dependencies

    Add AbpFeatureManagementEntityFrameworkCoreModule to CivitEntityFrameworkCoreModule

  • User Avatar
    0

    Still there are errors my side if your project is running smoothly please share with me Is it neccessory to use feature management and background job related modules to implement if there is no use in my project

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Still there are errors my side if your project is running smoothly please share with me

    what error?

    Is it neccessory to use feature management and background job related modules to implement if there is no use in my project

    you can remove them if they are not necessary for you

  • User Avatar
    0

    Removed permission management and feature but getting above error

  • User Avatar
    0

    Shared you current code on mail

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Permission management module is a basic module, and identity module depends on it. if you don't want use permission management you have to remove identity module too

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Comment typeof(AbpBackgroundJobsDomainModule)

  • User Avatar
    0

    Hi,

    Permission management module is a basic module, and identity module depends on it. if you don't want use permission management you have to remove identity module too

    1. So is it necessary to have tables for them like following.
    2. According to the project given by me to you I want localization, Caching, Exception Handling So which are required and dependent packages for them. Because its taking too much time to solve one issue there is no fixed documentation which provide dependencies of other packages.
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    So is it necessary to have tables for them like following.

    yes, it's. otherwise, you need to delete the identity module too.

    According to the project given by me to you I want localization, Caching, Exception Handling So which are required and dependent packages for them. Because its taking too much time to solve one issue there is no fixed documentation which provide dependencies of other packages.

    Hi, usually the documentation will mention the required packages:

    • https://abp.io/docs/latest/framework/fundamentals/localization
    • https://abp.io/docs/latest/framework/fundamentals/caching
    • https://abp.io/docs/latest/framework/fundamentals/exception-handling

    Exception handing is a part feature of Volo.Abp.AspNetCore.Mvc package

  • User Avatar
    0

    es, it's. otherwise, you need to delete the identity module too.

    If my identity server is different I just want authentication and authorization working on this api so do i Need identity module or not. I already have identity server with identity module which i am using for the authentication purpose.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    if you need to use the identityuser/roles etc.. and its endpoints in this project, you need to keep it, as I see, you don't need it (You need to evaluate carefully).

  • User Avatar
    0

    So If i have added permission module over there getting tables not present error how to add migration of all tables required for my project because If I run migration command on ef getting following error

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I think the message is clear, you have to install Microsoft.EntityFrameworkCore.Design package.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11