I am trying to generate an entity within a module using the abp suite. It generates the backend files but does not generate any angular pages for the entity.
I would like to follow up on the above issue. I am creating a project SchoolAutomater which has three modules - PurchaseOrder, StaffManagement and StoreManagement. Kindly find the solution structure below. I am trying add an entity using ABP Suite in the Purchase Order Module but the angular files do not get generated.
Hello,
There are no errors in the terminal. I have removed angular/.suite folder and tried as well but it is still not generated.
Please find the logs below:
2022-07-14 18:45:09.667 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:3000/api/abpSuite/solutions/44aeb635-93d0-41ce-8fb2-3d43d15f85b0/is-built application/json -
2022-07-14 18:45:09.672 +03:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.IsSolutionBuiltAsync (Volo.Abp.Suite)'
2022-07-14 18:45:09.673 +03:00 [INF] Route matched with {action = "IsSolutionBuilt", controller = "AbpSuite", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[System.Boolean] IsSolutionBuiltAsync(System.Guid) on controller Volo.Abp.Suite.Controllers.AbpSuiteController (Volo.Abp.Suite). 2022-07-14 18:45:09.847 +03:00 [INF] Executing ObjectResult, writing value of type 'System.Boolean'. 2022-07-14 18:45:09.847 +03:00 [INF] Executed action Volo.Abp.Suite.Controllers.AbpSuiteController.IsSolutionBuiltAsync (Volo.Abp.Suite) in 174.2324ms 2022-07-14 18:45:09.847 +03:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.IsSolutionBuiltAsync (Volo.Abp.Suite)' 2022-07-14 18:45:09.847 +03:00 [INF] Request finished HTTP/1.1 GET http://localhost:3000/api/abpSuite/solutions/44aeb635-93d0-41ce-8fb2-3d43d15f85b0/is-built application/json - - 200 - application/json;+charset=utf-8 181.8940ms 2022-07-14 18:45:09.858 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:3000/api/abpSuite/solutions/44aeb635-93d0-41ce-8fb2-3d43d15f85b0/is-running application/json - 2022-07-14 18:45:09.858 +03:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.IsSolutionRunningAsync (Volo.Abp.Suite)' 2022-07-14 18:45:09.858 +03:00 [INF] Route matched with {action = "IsSolutionRunning", controller = "AbpSuite", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task
1[System.Boolean] IsSolutionRunningAsync(System.Guid) on controller Volo.Abp.Suite.Controllers.AbpSuiteController (Volo.Abp.Suite).
2022-07-14 18:45:09.862 +03:00 [DBG] Checking if the solution is running and in-use...
2022-07-14 18:45:09.866 +03:00 [INF] Executing ObjectResult, writing value of type 'System.Boolean'.
2022-07-14 18:45:09.866 +03:00 [INF] Executed action Volo.Abp.Suite.Controllers.AbpSuiteController.IsSolutionRunningAsync (Volo.Abp.Suite) in 8.0659ms
2022-07-14 18:45:09.866 +03:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.IsSolutionRunningAsync (Volo.Abp.Suite)'
2022-07-14 18:45:09.866 +03:00 [INF] Request finished HTTP/1.1 GET http://localhost:3000/api/abpSuite/solutions/44aeb635-93d0-41ce-8fb2-3d43d15f85b0/is-running application/json - - 200 - application/json;+charset=utf-8 8.6168ms
2022-07-14 18:45:09.883 +03:00 [INF] Request starting HTTP/1.1 POST http://localhost:3000/api/abpSuite/crudPageGenerator/44aeb635-93d0-41ce-8fb2-3d43d15f85b0/save-and-generate-entity application/json 4881
2022-07-14 18:45:09.884 +03:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite)'
2022-07-14 18:45:09.884 +03:00 [INF] Route matched with {controller = "crudPageGenerator", action = "SaveAndGenerateEntity", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.NoContentResult] SaveAndGenerateEntityAsync(System.Guid, Volo.Abp.Suite.Models.EntityModel) on controller Volo.Abp.Suite.Controllers.CrudPageGeneratorController (Volo.Abp.Suite).
2022-07-14 18:45:09.986 +03:00 [INF]
=== ENTITY GENERATION STARTED ===
* SOLUTION: PurchaseOrder
* ENTITY:{
"Id": "83cb6a0e-7326-41a6-b4fc-1f81c81654b4",
"Name": "ItemCatalog",
"OriginalName": "ItemCatalog",
"NamePlural": "ItemCatalogs",
"DatabaseTableName": "ItemCatalogs",
"Namespace": "ItemCatalogs",
"BaseClass": "FullAuditedAggregateRoot",
"PrimaryKeyType": "int",
"IsMultiTenant": true,
"CheckConcurrency": true,
"ShouldCreateUserInterface": true,
"ShouldCreateBackend": true,
"ShouldAddMigration": true,
"ShouldUpdateDatabase": true,
"CreateTests": true,
"Properties": [
{
"Id": "74b40dd1-f4c3-446e-b18f-59fcfb17a0e8",
"Name": "Code",
"Type": "string",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"IsNullable": false,
"IsRequired": true,
"MinLength": 1,
"MaxLength": 50,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "e89ee099-8994-4ed6-9533-0fefc89b9853",
"Name": "Description",
"Type": "string",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"IsNullable": false,
"IsRequired": false,
"MinLength": 0,
"MaxLength": 250,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "d08dc651-6275-4e03-bfcc-5c7ced954504",
"Name": "StoreID",
"Type": "int",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"IsNullable": true,
"IsRequired": false,
"MinLength": null,
"MaxLength": null,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "66eeff38-472a-471c-96b1-6b32a7f569d1",
"Name": "Spec1",
"Type": "string",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"IsNullable": false,
"IsRequired": false,
"MinLength": null,
"MaxLength": 100,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "4740a67c-9f0c-43e1-9fd1-ae3b5a2d33d3",
"Name": "Spec2",
"Type": "string",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"IsNullable": false,
"IsRequired": false,
"MinLength": null,
"MaxLength": 100,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "a8f746ed-3bfd-4e4a-bfda-de29bddeeb18",
"Name": "Spec3",
"Type": "string",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"IsNullable": false,
"IsRequired": false,
"MinLength": null,
"MaxLength": 100,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "086410db-4814-41f6-af5a-a14685e9ea39",
"Name": "TaxCode",
"Type": "string",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"IsNullable": false,
"IsRequired": false,
"MinLength": null,
"MaxLength": 20,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "ca937a40-2cdd-4637-904b-c74e0fc6886f",
"Name": "TaxPercentage",
"Type": "decimal",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"IsNullable": false,
"IsRequired": false,
"MinLength": null,
"MaxLength": null,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "1bd91db9-3770-4c22-9e43-975f2fed59b7",
"Name": "Currency",
"Type": "char",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"IsNullable": false,
"IsRequired": false,
"MinLength": null,
"MaxLength": null,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "40e84126-eeb0-4aff-a4d9-e2969e0e14f0",
"Name": "CurrencyRate",
"Type": "decimal",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"IsNullable": false,
"IsRequired": false,
"MinLength": null,
"MaxLength": null,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "74c8329d-a830-4b9c-9a86-09d600d78fa8",
"Name": "Rate",
"Type": "decimal",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"IsNullable": false,
"IsRequired": false,
"MinLength": null,
"MaxLength": null,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
},
{
"Id": "0e976c3d-c0c0-4066-b56e-c2018bfd682f",
"Name": "UoM",
"Type": "string",
"EnumType": "",
"EnumNamespace": "",
"EnumAngularImport": "shared/enums",
"EnumFilePath": null,
"IsNullable": false,
"IsRequired": false,
"MinLength": null,
"MaxLength": 50,
"SortOrder": 0,
"SortType": 0,
"Regex": "",
"EmailValidation": false,
"EnumValues": null,
"IsSelected": true,
"OrdinalIndex": 0
}
],
"NavigationProperties": [],
"NavigationConnections": [],
"PhysicalFileName": "ItemCatalog.json"
}
2022-07-14 18:45:09.987 +03:00 [INF] 1/8 - EntityGenerateCommand started...
2022-07-14 18:45:10.006 +03:00 [INF] 1/8 - EntityGenerateCommand completed. | Duration: 19 ms.
2022-07-14 18:45:10.007 +03:00 [INF] 2/8 - RepositoryCommand started...
2022-07-14 18:45:10.025 +03:00 [INF] 2/8 - RepositoryCommand completed. | Duration: 18 ms.
2022-07-14 18:45:10.026 +03:00 [INF] 3/8 - ManagerCommand started...
2022-07-14 18:45:10.029 +03:00 [INF] 3/8 - ManagerCommand completed. | Duration: 3 ms.
2022-07-14 18:45:10.029 +03:00 [INF] 4/8 - AppServiceCommand started...
2022-07-14 18:45:10.053 +03:00 [INF] 4/8 - AppServiceCommand completed. | Duration: 24 ms.
2022-07-14 18:45:10.054 +03:00 [INF] 5/8 - ProxyControllerCommand started...
2022-07-14 18:45:10.058 +03:00 [INF] 5/8 - ProxyControllerCommand completed. | Duration: 4 ms.
2022-07-14 18:45:10.058 +03:00 [INF] 6/8 - PermissionCommand started...
2022-07-14 18:45:10.060 +03:00 [INF] 6/8 - PermissionCommand completed. | Duration: 2 ms.
2022-07-14 18:45:10.060 +03:00 [INF] 7/8 - ApplicationObjectMappingCommand started...
2022-07-14 18:45:10.063 +03:00 [INF] 7/8 - ApplicationObjectMappingCommand completed. | Duration: 2 ms.
2022-07-14 18:45:10.063 +03:00 [INF] 8/8 - UnitTestCommandCommand started...
2022-07-14 18:45:10.063 +03:00 [WRN] Cannot find DataSeedContributor so skipping data seeding step!
2022-07-14 18:45:10.063 +03:00 [WRN] Cannot find ApplicationTestFile so skipping application test generation!
2022-07-14 18:45:10.063 +03:00 [WRN] Cannot find RepositoryTestFile so skipping repository test generation!
2022-07-14 18:45:10.063 +03:00 [INF] 8/8 - UnitTestCommandCommand completed. | Duration: 0 ms.
2022-07-14 18:45:10.064 +03:00 [INF] Entity generation completed in 0 sec.
2022-07-14 18:45:10.064 +03:00 [INF] Executing StatusCodeResult, setting HTTP status code 204
2022-07-14 18:45:10.064 +03:00 [INF] Executed action Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite) in 179.9377ms
2022-07-14 18:45:10.064 +03:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite)'
2022-07-14 18:45:10.064 +03:00 [INF] Request finished HTTP/1.1 POST http://localhost:3000/api/abpSuite/crudPageGenerator/44aeb635-93d0-41ce-8fb2-3d43d15f85b0/save-and-generate-entity application/json 4881 - 204 - - 180.3573ms
2022-07-14 18:45:10.071 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:3000/api/abpSuite/crudPageGenerator/44aeb635-93d0-41ce-8fb2-3d43d15f85b0/entities application/json -
2022-07-14 18:45:10.071 +03:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.GetEntitiesAsync (Volo.Abp.Suite)'
2022-07-14 18:45:10.071 +03:00 [INF] Route matched with {controller = "crudPageGenerator", action = "GetEntities", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[System.Collections.Generic.List
1[Volo.Abp.Suite.Models.EntityModel]] GetEntitiesAsync(System.Guid) on controller Volo.Abp.Suite.Controllers.CrudPageGeneratorController (Volo.Abp.Suite).
2022-07-14 18:45:10.076 +03:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[Volo.Abp.Suite.Models.EntityModel, Volo.Abp.Suite, Version=5.3.1.0, Culture=neutral, PublicKeyToken=null]]'.
2022-07-14 18:45:10.077 +03:00 [INF] Executed action Volo.Abp.Suite.Controllers.CrudPageGeneratorController.GetEntitiesAsync (Volo.Abp.Suite) in 5.189ms
2022-07-14 18:45:10.077 +03:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.GetEntitiesAsync (Volo.Abp.Suite)'
2022-07-14 18:45:10.077 +03:00 [INF] Request finished HTTP/1.1 GET http://localhost:3000/api/abpSuite/crudPageGenerator/44aeb635-93d0-41ce-8fb2-3d43d15f85b0/entities application/json - - 200 - application/json;+charset=utf-8 5.5186ms
When is the 5.3.3 version releasing? If already release how to update my package.
I have created a microservice solution with Angular UI. It has the sample product service and I have added an additional core service for the application. After some changes to controller for the new entity when I try to regenerate the proxy I recieve the above error. If there is only one service it generates without any issues. But for multiple services it throws the error.
Hello,
I have followed these steps but it generates proxies under projects/my-service while the components are generated under src/my-entity. How to ensure that both proxies and components for a service are generated in one location only?
I have added the below properties to tenant in the SaasServiceEfCoreEntityExtensionMappings class. I shall be adding additional fields similarly to User Entity as well. How to add these additional fields to the angular tenant and user creation form as well
ObjectExtensionManager.Instance
.MapEfCoreProperty<Tenant, string>(
"Currency",
(entityBuilder, propertyBuilder) =>
{
propertyBuilder.IsRequired(false);
propertyBuilder.HasMaxLength(3);
}
);
ObjectExtensionManager.Instance
.MapEfCoreProperty<Tenant, int?>(
"CurrencyDecimal",
(entityBuilder, propertyBuilder) =>
{
propertyBuilder.IsRequired(false);
}
);
ObjectExtensionManager.Instance
.MapEfCoreProperty<Tenant, DateTime>(
"AcademicYearStart",
(entityBuilder, propertyBuilder) =>
{
propertyBuilder.HasMaxLength(3);
}
);
Hello,
I created the my-service ng module as suggested in the gist but after updating to abp suite 5.3.3 I am getting an error when generating the angular UI from abp suite. Kindly see below the structure of the module and the error
I was able to generate the angular UI once the my-service library was removed from apps/angular/projects and apps/angular/angular.json
But the my-service library is required to regenerate proxies for the services so please let me know a fix or alternative for the same.
Updated to dotnet 7, created a fresh download from abp.suite using the command please note dotnet tools (Volo.Abp.Cli), abp, and Visual Studio are updated to 7
abp new SchoolAut0mater -t microservice-pro -u angular --output-folder "$(PWD)" -csf --preview
then run the below command
.\etc\docker\up.ps1
.\etc\dev-cert\create-certificate.ps1
.\build /graphBuild
CD '\shared\SchoolAut0mater.DbMigrator' && dotnet run
got error
...
...
[16:27:33 INF] Initialized all ABP modules.
[16:27:33 INF] Migrating Host side...
[16:27:33 INF] Migrating SaasService database...
[16:27:34 INF] Migrating AdministrationService database...
[16:27:34 INF] Migrating IdentityService database...
[16:27:35 INF] Migrating ProductService database...
Unhandled exception. Autofac.Core.DependencyResolutionException: An exception was thrown while activating Volo.Abp.Auditing.AuditingManager -> Volo.Abp.Auditing.AuditingHelper -> Volo.Abp.AuditLogging.AuditingStore -> Volo.Abp.AuditLogging.AuditLogInfoToAuditLogConverter -> Volo.Abp.AspNetCore.ExceptionHandling.DefaultExceptionToErrorInfoConverter -> Volo.Abp.Localization.AbpStringLocalizerFactory -> Volo.Abp.LanguageManagement.External.ExternalLocalizationStore.
---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.Extensions.Options.IOptions1[Volo.Abp.Localization.AbpLocalizationOptions], Volo.Abp.LanguageManagement.External.ILocalizationResourceRecordRepository, Volo.Abp.LanguageManagement.External.IExternalLocalizationStoreCache)' on type 'ExternalLocalizationStore'. ---> System.MissingMethodException: Method not found: 'Volo.Abp.Localization.LocalizationResource Volo.Abp.Localization.LocalizationResourceExtensions.AddBaseTypes(Volo.Abp.Localization.LocalizationResource, System.Type[])'. at SchoolAut0mater.ProductService.ProductServiceDomainSharedModule.<>c.<ConfigureServices>b__1_1(AbpLocalizationOptions options) at Microsoft.Extensions.Options.ConfigureNamedOptions
1.Configure(String name, TOptions options)
at Microsoft.Extensions.Options.OptionsFactory1.Create(String name) at Microsoft.Extensions.Options.UnnamedOptionsManager
1.get_Value()
at Volo.Abp.LanguageManagement.External.ExternalLocalizationStore..ctor(IOptions1 localizationOptions, ILocalizationResourceRecordRepository localizationResourceRecordRepository, IExternalLocalizationStoreCache cache) at lambda_method55(Closure, Object[]) at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() --- End of inner exception stack trace --- at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass12_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext ctxt, Action
1 next)
at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext ctxt, Action
1 next)
at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action
1 next)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action
1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable
1 parameters)
at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType, IEnumerable1 parameters) at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType) at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetService(Type serviceType) at Volo.Abp.DependencyInjection.CachedServiceProviderBase.<>c__DisplayClass7_0.<GetService>b__1() at System.Lazy
1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy
1.CreateValue()
at Volo.Abp.DependencyInjection.CachedServiceProviderBase.GetService(Type serviceType)
at Volo.Abp.DependencyInjection.AbpLazyServiceProvider.LazyGetRequiredService(Type serviceType)
at Volo.Abp.DependencyInjection.AbpLazyServiceProvider.LazyGetRequiredServiceT
at Volo.Abp.EntityFrameworkCore.AbpDbContext1.get_AuditingManager() at Volo.Abp.EntityFrameworkCore.AbpDbContext
1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at SchoolAut0mater.DbMigrator.SchoolAut0materDbMigrationService.MigrateAllDatabasesAsync(Nullable`1 tenantId, CancellationToken cancellationToken)
in D:\Projects\abpio\SchoolAut0materV4\SchoolAut0mater\shared\SchoolAut0mater.DbMigrator\SchoolAut0materDbMigrationService.cs:line 103
at SchoolAut0mater.DbMigrator.SchoolAut0materDbMigrationService.MigrateHostAsync(CancellationToken cancellationToken) in D:\Projects\abpio\SchoolAut0materV4\SchoolAut0mater\shared\SchoolAut0mater.DbMigrator\SchoolAut0materDbMigrationService.cs:line 55
at SchoolAut0mater.DbMigrator.SchoolAut0materDbMigrationService.MigrateAsync(CancellationToken cancellationToken) in D:\Projects\abpio\SchoolAut0materV4\SchoolAut0mater\shared\SchoolAut0mater.DbMigrator\SchoolAut0materDbMigrationService.cs:line 47
at SchoolAut0mater.DbMigrator.DbMigratorHostedService.StartAsync(CancellationToken cancellationToken) in D:\Projects\abpio\SchoolAut0materV4\SchoolAut0mater\shared\SchoolAut0mater.DbMigrator\DbMigratorHostedService.cs:line 37
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at SchoolAut0mater.DbMigrator.Program.Main(String[] args) in D:\Projects\abpio\SchoolAut0materV4\SchoolAut0mater\shared\SchoolAut0mater.DbMigrator\Program.cs:line 36
at SchoolAut0mater.DbMigrator.Program.