Activities of "ed_developer1"

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!

Question
  • 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.

Hi Masum,

{ "name": "ABP_Project", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve --open", "build": "ng build", "build:prod": "ng build --configuration production", "build:dev": "ng build --configuration dev", "watch": "ng build --watch --configuration development", "test": "ng test", "lint": "ng lint", "postinstall": "npm run compile:ivy", "compile:ivy": "yarn ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points --tsconfig './tsconfig.prod.json' --source node_modules" }, "private": true, "dependencies": { "@abp/ng.components": "~7.0.2", "@abp/ng.core": "~7.0.2", "@abp/ng.oauth": "~7.0.2", "@abp/ng.setting-management": "~7.0.2", "@abp/ng.theme.shared": "~7.0.2", "@angular/animations": "^15.0.1", "@angular/common": "^15.0.1", "@angular/compiler": "^15.0.1", "@angular/core": "^15.0.1", "@angular/forms": "^15.0.1", "@angular/localize": "^15.0.1", "@angular/platform-browser": "^15.0.1", "@angular/platform-browser-dynamic": "^15.0.1", "@angular/router": "^15.0.1", "@ant-design/icons-angular": "^15.0.0", "@ckeditor/ckeditor5-angular": "^7.0.1", "@ckeditor/ckeditor5-build-classic": "^40.2.0", "@volo/abp.commercial.ng.ui": "~7.0.2", "@volo/abp.ng.account": "~7.0.2", "@volo/abp.ng.audit-logging": "~7.0.2", "@volo/abp.ng.gdpr": "~7.0.2", "@volo/abp.ng.identity": "~7.0.2", "@volo/abp.ng.language-management": "~7.0.2", "@volo/abp.ng.openiddictpro": "~7.0.2", "@volo/abp.ng.saas": "~7.0.2", "@volo/abp.ng.text-template-management": "~7.0.2", "@volosoft/abp.ng.theme.lepton-x": "^2.0.0-rc.2", "jquery": "^3.7.1", "json-server": "^0.17.3", "jstree": "^3.3.16", "moment": "^2.29.4", "ngx-mask": "^15.1.3", "ngx-scrollbar": "^11.0.0", "rxjs": "7.5.6", "tslib": "^2.1.0", "zone.js": "~0.11.4" }, "devDependencies": { "@abp/ng.schematics": "~7.0.2", "@angular-devkit/build-angular": "^15.0.1", "@angular-eslint/builder": "~15.1.0", "@angular-eslint/eslint-plugin": "~15.1.0", "@angular-eslint/eslint-plugin-template": "~15.1.0", "@angular-eslint/schematics": "~15.1.0", "@angular-eslint/template-parser": "~15.1.0", "@angular/cli": "^15.0.1", "@angular/compiler-cli": "^15.0.1", "@angular/language-service": "^15.0.1", "@types/jasmine": "~3.6.0", "@types/node": "^12.11.1", "@typescript-eslint/eslint-plugin": "^5.36.2", "@typescript-eslint/parser": "^5.36.2", "eslint": "^8.23.0", "jasmine-core": "~4.0.0", "karma": "~6.3.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.1.0", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.7.0", "ng-packagr": "^15.0.1", "typescript": "~4.8.3" } }

Thanks!

hi can you confirm if ui will be generated if we upgrade to rc1 release v8.1.0-rc.1

here you go [14:04:22 ERR] Access to the path 'output-schema.d.ts' is denied. System.UnauthorizedAccessException: Access to the path 'output-schema.d.ts' is denied. at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel) at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive) at System.IO.DirectoryInfo.Delete(Boolean recursive) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Helpers.IoHelper.DeleteDirectoryWithFiles(String path) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.AngularSchematicsService.XdGF4OU30w(String , Solution ) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.AngularSchematicsService.SetupSchematicsAsync(Solution solution) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.AngularUiGenerateWithSchematicsCommand.ExecuteAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution, EntityModel masterEntity) at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity) at lambda_method1968(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.

i have added new field in table and unchecked test generation, still it didn't generate ui for new field

i will check on this. so do you mean if we have to generate tests then we have to upgrade to rc1 release.

It is strange why it has stopped UI generation, though it does not give any error as well. i have done more changes but for all of them no error and no UI code generated.
We cannot afford this type of issue as we have to generate the front end angular code because we cannot do that code manually and it defeats the purpose of using the ABP.

Thanks

here are logs Writing C:\Users\Rakesh\AppData\Local\Temp\tmpgk0cxu.tmp info : X.509 certificate chain validation will use the default trust store selected by .NET for code signing. info : X.509 certificate chain validation will use the default trust store selected by .NET for timestamping. info : Adding PackageReference for package 'MiniExcel' into project 'D:\work\orion\Wbi\aspnet-core\modules\RegistrationModule\src\RegistrationModule.Application\RegistrationModule.Application.csproj'. info : Restoring packages for D:\work\orion\Wbi\aspnet-core\modules\RegistrationModule\src\RegistrationModule.Application\RegistrationModule.Application.csproj... info : GET https://api.nuget.org/v3/vulnerabilities/index.json info : OK https://api.nuget.org/v3/vulnerabilities/index.json 446ms info : GET https://api.nuget.org/v3-vulnerabilities/2024.02.29.05.28.27/vulnerability.base.json info : GET https://api.nuget.org/v3-vulnerabilities/2024.02.29.05.28.27/2024.03.04.05.29.03/vulnerability.update.json info : OK https://api.nuget.org/v3-vulnerabilities/2024.02.29.05.28.27/vulnerability.base.json 20ms info : OK https://api.nuget.org/v3-vulnerabilities/2024.02.29.05.28.27/2024.03.04.05.29.03/vulnerability.update.json 61ms info : Package 'MiniExcel' is compatible with all the specified frameworks in project 'D:\work\orion\Wbi\aspnet-core\modules\RegistrationModule\src\RegistrationModule.Application\RegistrationModule.Application.csproj'. info : PackageReference for package 'MiniExcel' version '1.31.2' updated in file 'D:\work\orion\Wbi\aspnet-core\modules\RegistrationModule\src\RegistrationModule.Application\RegistrationModule.Application.csproj'. info : Writing assets file to disk. Path: D:\work\orion\Wbi\aspnet-core\modules\RegistrationModule\src\RegistrationModule.Application\obj\project.assets.json log : Restored D:\work\orion\Wbi\aspnet-core\modules\RegistrationModule\src\RegistrationModule.Application\RegistrationModule.Application.csproj (in 3.54 sec). [15:57:01 ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }

[15:57:01 ERR] Could not find a part of the path 'D:\work\orion\Wbi\aspnet-core\modules\RegistrationModule\test\RegistrationModule.Domain.Tests\MFRegistrations\MFRegistrationsDataSeedContributor.cs'. System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\work\orion\Wbi\aspnet-core\modules\RegistrationModule\test\RegistrationModule.Domain.Tests\MFRegistrations\MFRegistrationsDataSeedContributor.cs'. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.File.OpenText(String path) at Volo.Abp.IO.FileHelper.ReadAllTextAsync(String path) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Core\Volo\Abp\IO\FileHelper.cs:line 59 at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.r6UatFqj7D(String ) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.NhPaLf3cI8(TestDataObject , Int32 ) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.kDqaFhbglU() at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.ExecuteAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution, EntityModel masterEntity) at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity) at lambda_method1953(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.

[15:58:04 ERR] Could not find a part of the path 'D:\work\orion\Wbi\aspnet-core\modules\RegistrationModule\test\RegistrationModule.Domain.Tests\MFRegistrations\MFRegistrationsDataSeedContributor.cs'. System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\work\orion\Wbi\aspnet-core\modules\RegistrationModule\test\RegistrationModule.Domain.Tests\MFRegistrations\MFRegistrationsDataSeedContributor.cs'. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.File.OpenText(String path) at Volo.Abp.IO.FileHelper.ReadAllTextAsync(String path) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Core\Volo\Abp\IO\FileHelper.cs:line 59 at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.r6UatFqj7D(String ) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.NhPaLf3cI8(TestDataObject , Int32 ) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.kDqaFhbglU() at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.ExecuteAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution, EntityModel masterEntity) at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity) at lambda_method1953(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.

[15:59:53 ERR] Could not find a part of the path 'D:\work\orion\Wbi\aspnet-core\modules\RegistrationModule\test\RegistrationModule.Domain.Tests\MFRegistrations\MFRegistrationsDataSeedContributor.cs'. System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\work\orion\Wbi\aspnet-core\modules\RegistrationModule\test\RegistrationModule.Domain.Tests\MFRegistrations\MFRegistrationsDataSeedContributor.cs'. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.File.OpenText(String path) at Volo.Abp.IO.FileHelper.ReadAllTextAsync(String path) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Core\Volo\Abp\IO\FileHelper.cs:line 59 at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.r6UatFqj7D(String ) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.NhPaLf3cI8(TestDataObject , Int32 ) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.kDqaFhbglU() at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.ExecuteAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution, EntityModel masterEntity) at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity) at lambda_method1953(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.

yes problem was some duplicate package, but now when i made changes to model it is not generating changes for front end in angular even if i tick the generate ui checkbox while generating. it is generating code for backend projects and not for front end

Showing 1 to 10 of 19 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11