Open Closed

Solution Compiling Issue #7002


User avatar
0
ed_developer1 created
  • ABP Framework version: v8.0.4
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Exception message and full stack trace:
  • Issue:

We initially designed our application with a modular architecture, aiming for enhanced modularity and code encapsulation. However, as our solution grew, so did the number of modules, reaching beyond five. Regrettably, this expansion has begun to strain our application's performance. Compiling the solution now demands a significant amount of time, stretching from 20 to 25 minutes, and loading the projects within the solution has become notably time-consuming. This dilemma prompts us to reconsider our approach, seeking ways to streamline our architecture while preserving the benefits of modularity and encapsulation.


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

    hi

    I think this is a bit abnormal. Why does dotnet build command take so long?

    We build the framework and some modules, which will take 9 minutes.

    https://github.com/abpframework/abp/actions/runs/8578328802/job/23512054046

    ../framework 
    ../modules/basic-theme 
    ../modules/users 
    ../modules/permission-management 
    ../modules/setting-management 
    ../modules/feature-management 
    ../modules/identity 
    ../modules/identityserver 
    ../modules/openiddict 
    ../modules/tenant-management
     ../modules/audit-logging 
     ../modules/background-jobs 
     ../modules/account 
     ../modules/cms-kit 
     ../modules/blob-storing-database
    
  • User Avatar
    0
    ed_developer1 created

    Hi maliming,

    The modules you build are the default modules provided by abp and as in our development environment, we have created our custom modules through abp suite. And those modules have from 5-10 entities each and some of them have 20+ entities as well. And 100+ projects are built when running the dotnet build command.

    Can you please provide a solution as there will be more modules to be created in the future and this will become a huge issue for us. As we can't wait for that long every time we build the solution,

    Thanks!

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    There's nothing I can do about it. This is the time it takes for dotnet build command, our code is just normal code.

    You might consider using a better-performing CPU to save time.

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