Open Closed

Can I use a low-version module(like 5.3.3) in a high-version project(7.1.1) #5561


User avatar
0
caglar.ayhan@ekol.com created
  • ABP Framework version: v5.3.3
  • UI Type: Angular
  • Database System: PostgreSQL, etc..)
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

We have a module that keeps our common codes, including a class that implements the ISmsSender interface, based on abp framework v.5.3.3 (it will be mentioned as logi.common).We have 4 different projects that use the codes contained in this module. The version of one of our projects is 7.1.1 (it will be called the booking project), while the versions of the others are 5.3.3. We get an error when we want to use the logi.common module in the booking project, although we do not have any problems in other projects. (I will share the error we received below.). What might be causing this problem? From my point of view, I can use a low-version module(like 5.3.3) in a high-version project(like 7.1.1). Right? I hope I have given enough information about my problem and not too complicated. Error: System.IO.FileNotFoundException: Could not load file or assembly 'Volo.Abp.Sms, Version=7.1.1.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. File name: 'Volo.Abp.Sms, Version=7.1.1.0, Culture=neutral, PublicKeyToken=null'


1 Answer(s)
  • User Avatar
    0
    gterdem created
    Support Team Senior .NET Developer

    For specifically between v5 and v7, no you can't use it. Module will be targeting .net5 etc while running application is targeting .net7.

    And it is not related to ABP. As an example from a nuget package, here is the Automapper v8.0.0 depends on .NetStandart 2.0 while version 12.0.0 depends on .NetStandart 2.1.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11