Open Closed

How to Prevent ABP Suite from Regenerating All Project Code? #7272


User avatar
0
innovawide created

Every time I make a modification to the project using ABP Suite, it regenerates the entire project from the start, and the code I manually added is lost. I need to know how to resolve this problem. For the frontend, I have divided it into components (create, edit, view), and it works, but for the modules, the routing, and the services, it generates them from the beginning. So, what can I do to fix this problem on both the frontend and backend?

ABP Framework version: 7.2.1 UI Type: Angular Database System: EF Core (SQL Server) Auth Server Separated (for Angular): Yes


3 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    In v7.4, we introduced custom code support. You can update your CLI, Suite, and project version and get the benefit of it. Here is the documentation: https://docs.abp.io/en/commercial/latest/abp-suite/customizing-the-generated-code

  • User Avatar
    0
    innovawide created

    Upgrading the version from 7.2.1 to 7.4 should not cause errors in the project, ?

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Upgrading the version from 7.2.1 to 7.4 should not cause errors in the project, ?

    There might be small changes that you need to do. Please follow the migration guides below:

    • https://docs.abp.io/en/abp/latest/Migration-Guides/Abp-7_3
    • https://docs.abp.io/en/abp/latest/Migration-Guides/Abp-7_4
    • https://docs.abp.io/en/commercial/latest/migration-guides/v7_4
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11