Otvoriť Uzavreté

How to force licensing modules to use local framework references #1608


User avatar
0
hitaspdotnet vytvorené

I want to use local reference of abp framework, but when try to run template abp framework packages downloaded beacuse of licensing package's dependencies. Then we got packages dublicated. How to fix?


5 odpoveď(e)/dí
  • User Avatar
    0
    maliming vytvorené
    Tím podpory Fullstack Developer

    hi

    Then we got packages dublicated. How to fix?

    Can you share your steps and error messages?

  • User Avatar
    0
    hitaspdotnet vytvorené

    hi

    Then we got packages dublicated. How to fix?

    Can you share your steps and error messages?

    1. Download framework (git repo)
    2. Download all modules (+pro) with get-source abp cli
    3. Create template pro using abp cli
    4. reviewing project references for pro modules (cli bug with local framework reference)
    5. Run
    System.IO.FileLoadException: Could not load file or assembly 'Volo.Abp.Core, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
    
  • User Avatar
    0
    hitaspdotnet vytvorené

    Any solution?

  • User Avatar
    0
    hitaspdotnet vytvorené

    How to force licensing modules to use local framework references?

  • User Avatar
    1
    hitaspdotnet vytvorené

    This issue is becuase template version 'common.props' which is 1.0.0.0 and the abp framework version is '5.0.0.0' and the downloaded packages version is 4.4.0! I changed them to 4.4.0 and issue solved.

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