Closed heitorgiacomini closed 1 year ago
abphelper generate crud LancamentoDeReceita -d C:\p\gcaspp\Contabilidade [20:08:59 INF] Use directory: C:\p\gcaspp\Contabilidade [20:09:00 INF] Command 'crud' started.
C:\p\gcaspp\Contabilidade
[20:09:00 DBG] ProjectInfoProviderStep Input [excludeDirectories]: [20:09:00 DBG] ProjectInfoProviderStep Output [projectInfo]: 'BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False'
[20:09:00 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:00 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.Domain\Entidades\LancamentoDeReceita\LancamentoDeReceita.cs', stored in parameter: 'FileFinderResult'
[20:09:01 DBG] EntityConstructorsStep Output [modifications]: Modifications count: 2
[20:09:01 DBG] FileModifierStep Input [modifications]: Modifications count: 2
[20:09:01 DBG] TextGenerationStep Input [model]: '{ ProjectInfo = BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False, Option = EasyAbp.AbpHelper.Core.Commands.Generate.Crud.CrudCommandOption, EntityInfo = EasyAbp.AbpHelper.Core.Models.EntityInfo, InterfaceInfo = , ClassInfo = , Bag = System.Dynamic.ExpandoObject, DtoInfo = EasyAbp.AbpHelper.Core.Models.DtoInfo }'
[20:09:01 DBG] TextGenerationStep Output [text]: Length: 39
[20:09:01 DBG] TextGenerationStep Output [text]: Length: 44
[20:09:01 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:01 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.EntityFrameworkCore\EntityFrameworkCore\ContabilidadeDbContext.cs', stored in parameter: 'FileFinderResult'
[20:09:01 DBG] DbContextClassStep Output [modifications]: Modifications count: 1
[20:09:01 DBG] FileModifierStep Input [modifications]: Modifications count: 1
[20:09:01 DBG] DbContextModelCreatingExtensionsStep Output [modifications]: Modifications count: 1
[20:09:01 DBG] GroupGenerationStep Input [model]: '{ ProjectInfo = BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False, Option = EasyAbp.AbpHelper.Core.Commands.Generate.Crud.CrudCommandOption, EntityInfo = EasyAbp.AbpHelper.Core.Models.EntityInfo, InterfaceInfo = , ClassInfo = , Bag = System.Dynamic.ExpandoObject, DtoInfo = EasyAbp.AbpHelper.Core.Models.DtoInfo }' [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Repository/src/{ProjectInfo.FullName}.Domain/{EntityInfo.RelativeDirectory}/I{EntityInfo.Name}Repository.cs [20:09:01 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Domain/Entidades/ILancamentoDeReceitaRepository.cs successfully generated. [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Repository/src/{ProjectInfo.FullName}.EntityFrameworkCore/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}EfCoreQuerableExtensions.cs [20:09:01 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.EntityFrameworkCore/Entidades/LancamentoDeReceitaEfCoreQuerableExtensions.cs successfully generated. [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Repository/src/{ProjectInfo.FullName}.EntityFrameworkCore/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}Repository.cs [20:09:01 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.EntityFrameworkCore/Entidades/LancamentoDeReceitaRepository.cs successfully generated.
[20:09:01 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.EntityFrameworkCore\EntityFrameworkCore\ContabilidadeEntityFrameworkCoreModule.cs', stored in parameter: 'FileFinderResult'
[20:09:01 DBG] EntityFrameworkCoreModuleStep Output [modifications]: Modifications count: 2
[20:09:01 DBG] GroupGenerationStep Input [model]: '{ ProjectInfo = BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False, Option = EasyAbp.AbpHelper.Core.Commands.Generate.Crud.CrudCommandOption, EntityInfo = EasyAbp.AbpHelper.Core.Models.EntityInfo, InterfaceInfo = , ClassInfo = , Bag = System.Dynamic.ExpandoObject, DtoInfo = EasyAbp.AbpHelper.Core.Models.DtoInfo }' [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Service/src/{ProjectInfo.FullName}.Application/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}AppService.cs [20:09:01 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Application/Entidades/LancamentoDeReceitaAppService.cs successfully generated. [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Service/src/{ProjectInfo.FullName}.Application.Contracts/{EntityInfo.RelativeDirectory}/Dtos/{DtoInfo.CreateTypeName}.cs [20:09:01 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Application.Contracts/Entidades/Dtos/CreateUpdateLancamentoDeReceitaDto.cs successfully generated. [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Service/src/{ProjectInfo.FullName}.Application.Contracts/{EntityInfo.RelativeDirectory}/Dtos/{DtoInfo.ReadTypeName}.cs [20:09:01 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Application.Contracts/Entidades/Dtos/LancamentoDeReceitaDto.cs successfully generated. [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Service/src/{ProjectInfo.FullName}.Application.Contracts/{EntityInfo.RelativeDirectory}/Dtos/{DtoInfo.UpdateTypeName}.cs [20:09:01 INF] Evaluated value of SKIP_GENERATE is true, skip generating. [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Service/src/{ProjectInfo.FullName}.Application.Contracts/{EntityInfo.RelativeDirectory}/Dtos/{EntityInfo.CompositeKeyName}.cs [20:09:02 INF] Evaluated value of SKIP_GENERATE is true, skip generating. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/Service/src/{ProjectInfo.FullName}.Application.Contracts/{EntityInfo.RelativeDirectory}/I{EntityInfo.Name}AppService.cs [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Application.Contracts/Entidades/ILancamentoDeReceitaAppService.cs successfully generated.
SKIP_GENERATE
[20:09:02 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:02 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.Application.Contracts\Permissions\ContabilidadePermissions.cs', stored in parameter: 'FileFinderResult'
[20:09:02 DBG] PermissionsStep Output [modifications]: Modifications count: 1
[20:09:02 DBG] FileModifierStep Input [modifications]: Modifications count: 1
[20:09:02 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.Application.Contracts\Permissions\ContabilidadePermissionDefinitionProvider.cs', stored in parameter: 'FileFinderResult'
[20:09:02 DBG] PermissionDefinitionProviderStep Output [modifications]: Modifications count: 1
[20:09:02 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.Application\ContabilidadeApplicationAutoMapperProfile.cs', stored in parameter: 'FileFinderResult'
[20:09:02 DBG] ApplicationAutoMapperProfileStep Output [modifications]: Modifications count: 2
[20:09:02 DBG] FileModifierStep Input [modifications]: Modifications count: 2
[20:09:02 DBG] TextGenerationStep Input [model]: '{ ProjectInfo = BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False, Option = EasyAbp.AbpHelper.Core.Commands.Generate.Crud.CrudCommandOption, EntityInfo = EasyAbp.AbpHelper.Core.Models.EntityInfo, InterfaceInfo = , ClassInfo = , Bag = System.Dynamic.ExpandoObject, DtoInfo = EasyAbp.AbpHelper.Core.Models.DtoInfo }'
[20:09:02 DBG] TextGenerationStep Output [text]: Length: 1787
[20:09:02 DBG] DirectoryFinderStep Input [excludeDirectories]:
[20:09:02 DBG] DirectoryFinderStep Output [directoryPathName]: Found directory: C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Domain.Shared\Localization, stored in parameter: [DirectoryFinderResult]
[20:09:02 DBG] MultiFileFinderStep Input [excludeDirectories]:
[20:09:02 DBG] MultiFileFinderStep Output [files]: Found files count: 1, stored in parameter: 'MultiFilesFinderResult'
[20:09:02 DBG] GroupGenerationStep Input [model]: '{ ProjectInfo = BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False, Option = EasyAbp.AbpHelper.Core.Commands.Generate.Crud.CrudCommandOption, EntityInfo = EasyAbp.AbpHelper.Core.Models.EntityInfo, InterfaceInfo = , ClassInfo = , Bag = System.Dynamic.ExpandoObject, DtoInfo = EasyAbp.AbpHelper.Core.Models.DtoInfo }' [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/CreateModal.cshtml [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/CreateModal.cshtml successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/CreateModal.cshtml.cs [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/CreateModal.cshtml.cs successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/EditModal.cshtml [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/EditModal.cshtml successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/EditModal.cshtml.cs [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/EditModal.cshtml.cs successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/Index.cshtml [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/Index.cshtml successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/Index.cshtml.cs [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/Index.cshtml.cs successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/ViewModels/CreateEdit{EntityInfo.Name}ViewModel.cs [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/ViewModels/CreateEditLancamentoDeReceitaViewModel.cs successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/ViewModels/Create{EntityInfo.Name}ViewModel.cs [20:09:02 INF] Evaluated value of SKIP_GENERATE is true, skip generating. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/ViewModels/Edit{EntityInfo.Name}ViewModel.cs [20:09:02 INF] Evaluated value of SKIP_GENERATE is true, skip generating. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/index.css [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/index.css successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/index.js [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/index.js successfully generated.
[20:09:03 DBG] MultiFileFinderStep Output [files]: Found files count: 1, stored in parameter: 'MultiFilesFinderResult'
[20:09:03 DBG] MenuNameStep Output [modifications]: Modifications count: 1
[20:09:03 DBG] FileModifierStep Input [modifications]: Modifications count: 1
[20:09:03 DBG] MultiFileFinderStep Input [excludeDirectories]:
[20:09:03 DBG] MenuContributorStep Output [modifications]: Modifications count: 1
[20:09:03 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:03 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade/src\Gcaspp.Contabilidade.Web\ContabilidadeWebAutoMapperProfile.cs', stored in parameter: 'FileFinderResult'
[20:09:03 DBG] WebAutoMapperProfileStep Output [modifications]: Modifications count: 2
[20:09:03 DBG] FileModifierStep Input [modifications]: Modifications count: 2
[20:09:03 DBG] GroupGenerationStep Input [model]: '{ ProjectInfo = BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False, Option = EasyAbp.AbpHelper.Core.Commands.Generate.Crud.CrudCommandOption, EntityInfo = EasyAbp.AbpHelper.Core.Models.EntityInfo, InterfaceInfo = , ClassInfo = , Bag = System.Dynamic.ExpandoObject, DtoInfo = EasyAbp.AbpHelper.Core.Models.DtoInfo }' [20:09:03 DBG] Generating using template file: /Templates/Crud/Groups/Test/test/{ProjectInfo.FullName}.Application.Tests/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}AppServiceTests.cs [20:09:03 INF] File C:\p\gcaspp\Contabilidade/test/Gcaspp.Contabilidade.Application.Tests/Entidades/LancamentoDeReceitaAppServiceTests.cs successfully generated. [20:09:03 DBG] Generating using template file: /Templates/Crud/Groups/Test/test/{ProjectInfo.FullName}.Domain.Tests/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}DomainTests.cs [20:09:03 INF] File C:\p\gcaspp\Contabilidade/test/Gcaspp.Contabilidade.Domain.Tests/Entidades/LancamentoDeReceitaDomainTests.cs successfully generated. [20:09:03 DBG] Generating using template file: /Templates/Crud/Groups/Test/test/{ProjectInfo.FullName}.EntityFrameworkCore.Tests/EntityFrameworkCore/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}RepositoryTests.cs [20:09:03 INF] File C:\p\gcaspp\Contabilidade/test/Gcaspp.Contabilidade.EntityFrameworkCore.Tests/EntityFrameworkCore/Entidades/LancamentoDeReceitaRepositoryTests.cs successfully generated. [20:09:03 DBG] Generating using template file: /Templates/Crud/Groups/Test/test/{ProjectInfo.FullName}.Web.Tests/Pages/{EntityInfo.RelativeDirectory}/IndexTests.cs [20:09:03 INF] File C:\p\gcaspp\Contabilidade/test/Gcaspp.Contabilidade.Web.Tests/Pages/Entidades/IndexTests.cs successfully generated.
[20:09:03 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.EntityFrameworkCore\Gcaspp.Contabilidade.EntityFrameworkCore.csproj', stored in parameter: 'MigrationProjectFile'
[20:09:03 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.Web\Gcaspp.Contabilidade.Web.csproj', stored in parameter: 'StartupProjectFile' [20:09:03 DBG] RunCommandStep Input [command]: 'dotnet ef migrations add AddedLancamentoDeReceita -p "C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.EntityFrameworkCore\Gcaspp.Contabilidade.EntityFrameworkCore.csproj" -s "C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.Web\Gcaspp.Contabilidade.Web.csproj"' [20:09:06 DBG] Build started... [20:09:24 DBG] Build failed. Use dotnet build to see the errors. [20:09:24 ERR] Error while invoking activity activity-90 of workflow b928e5d0e7974dc391827e9869e81701 EasyAbp.AbpHelper.Core.Steps.Common.RunningCommandFailedException: Exception of type 'EasyAbp.AbpHelper.Core.Steps.Common.RunningCommandFailedException' was thrown. at EasyAbp.AbpHelper.Core.Steps.Common.RunCommandStep.OnExecuteAsync(WorkflowExecutionContext context, CancellationToken cancellationToken) in D:\a\AbpHelper.CLI\AbpHelper.CLI\src\AbpHelper.Core\Steps\Common\RunCommandStep.cs:line 26 at Elsa.Services.ActivityInvoker.InvokeAsync(WorkflowExecutionContext workflowContext, IActivity activity, Func2 invokeAction) [20:09:24 ERR] Error activity: { "Command": { "Syntax": "JavaScript", "Expression": "dotnet ef migrations add Added${EntityInfo.Name} -p \"${MigrationProjectFile}\" -s \"${StartupProjectFile}\"`", "Type": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" }, "Name": "AddMigration" }
2 invokeAction) [20:09:24 ERR] Error activity: { "Command": { "Syntax": "JavaScript", "Expression": "
[20:09:06 DBG] Build started... [20:09:24 DBG] Build failed. Use dotnet build to see the errors.
Fix the code and run migration again.
abphelper generate crud LancamentoDeReceita -d C:\p\gcaspp\Contabilidade [20:08:59 INF] Use directory:
C:\p\gcaspp\Contabilidade
[20:09:00 INF] Command 'crud' started.[20:09:00 DBG] ProjectInfoProviderStep Input [excludeDirectories]: [20:09:00 DBG] ProjectInfoProviderStep Output [projectInfo]: 'BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False'
[20:09:00 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:00 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.Domain\Entidades\LancamentoDeReceita\LancamentoDeReceita.cs', stored in parameter: 'FileFinderResult'
[20:09:01 DBG] EntityConstructorsStep Output [modifications]: Modifications count: 2
[20:09:01 DBG] FileModifierStep Input [modifications]: Modifications count: 2
[20:09:01 DBG] TextGenerationStep Input [model]: '{ ProjectInfo = BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False, Option = EasyAbp.AbpHelper.Core.Commands.Generate.Crud.CrudCommandOption, EntityInfo = EasyAbp.AbpHelper.Core.Models.EntityInfo, InterfaceInfo = , ClassInfo = , Bag = System.Dynamic.ExpandoObject, DtoInfo = EasyAbp.AbpHelper.Core.Models.DtoInfo }'
[20:09:01 DBG] TextGenerationStep Output [text]: Length: 39
[20:09:01 DBG] TextGenerationStep Input [model]: '{ ProjectInfo = BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False, Option = EasyAbp.AbpHelper.Core.Commands.Generate.Crud.CrudCommandOption, EntityInfo = EasyAbp.AbpHelper.Core.Models.EntityInfo, InterfaceInfo = , ClassInfo = , Bag = System.Dynamic.ExpandoObject, DtoInfo = EasyAbp.AbpHelper.Core.Models.DtoInfo }'
[20:09:01 DBG] TextGenerationStep Output [text]: Length: 44
[20:09:01 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:01 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.EntityFrameworkCore\EntityFrameworkCore\ContabilidadeDbContext.cs', stored in parameter: 'FileFinderResult'
[20:09:01 DBG] DbContextClassStep Output [modifications]: Modifications count: 1
[20:09:01 DBG] FileModifierStep Input [modifications]: Modifications count: 1
[20:09:01 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:01 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:01 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.EntityFrameworkCore\EntityFrameworkCore\ContabilidadeDbContext.cs', stored in parameter: 'FileFinderResult'
[20:09:01 DBG] DbContextModelCreatingExtensionsStep Output [modifications]: Modifications count: 1
[20:09:01 DBG] FileModifierStep Input [modifications]: Modifications count: 1
[20:09:01 DBG] GroupGenerationStep Input [model]: '{ ProjectInfo = BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False, Option = EasyAbp.AbpHelper.Core.Commands.Generate.Crud.CrudCommandOption, EntityInfo = EasyAbp.AbpHelper.Core.Models.EntityInfo, InterfaceInfo = , ClassInfo = , Bag = System.Dynamic.ExpandoObject, DtoInfo = EasyAbp.AbpHelper.Core.Models.DtoInfo }' [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Repository/src/{ProjectInfo.FullName}.Domain/{EntityInfo.RelativeDirectory}/I{EntityInfo.Name}Repository.cs [20:09:01 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Domain/Entidades/ILancamentoDeReceitaRepository.cs successfully generated. [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Repository/src/{ProjectInfo.FullName}.EntityFrameworkCore/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}EfCoreQuerableExtensions.cs [20:09:01 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.EntityFrameworkCore/Entidades/LancamentoDeReceitaEfCoreQuerableExtensions.cs successfully generated. [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Repository/src/{ProjectInfo.FullName}.EntityFrameworkCore/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}Repository.cs [20:09:01 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.EntityFrameworkCore/Entidades/LancamentoDeReceitaRepository.cs successfully generated.
[20:09:01 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:01 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.EntityFrameworkCore\EntityFrameworkCore\ContabilidadeEntityFrameworkCoreModule.cs', stored in parameter: 'FileFinderResult'
[20:09:01 DBG] EntityFrameworkCoreModuleStep Output [modifications]: Modifications count: 2
[20:09:01 DBG] FileModifierStep Input [modifications]: Modifications count: 2
[20:09:01 DBG] GroupGenerationStep Input [model]: '{ ProjectInfo = BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False, Option = EasyAbp.AbpHelper.Core.Commands.Generate.Crud.CrudCommandOption, EntityInfo = EasyAbp.AbpHelper.Core.Models.EntityInfo, InterfaceInfo = , ClassInfo = , Bag = System.Dynamic.ExpandoObject, DtoInfo = EasyAbp.AbpHelper.Core.Models.DtoInfo }' [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Service/src/{ProjectInfo.FullName}.Application/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}AppService.cs [20:09:01 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Application/Entidades/LancamentoDeReceitaAppService.cs successfully generated. [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Service/src/{ProjectInfo.FullName}.Application.Contracts/{EntityInfo.RelativeDirectory}/Dtos/{DtoInfo.CreateTypeName}.cs [20:09:01 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Application.Contracts/Entidades/Dtos/CreateUpdateLancamentoDeReceitaDto.cs successfully generated. [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Service/src/{ProjectInfo.FullName}.Application.Contracts/{EntityInfo.RelativeDirectory}/Dtos/{DtoInfo.ReadTypeName}.cs [20:09:01 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Application.Contracts/Entidades/Dtos/LancamentoDeReceitaDto.cs successfully generated. [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Service/src/{ProjectInfo.FullName}.Application.Contracts/{EntityInfo.RelativeDirectory}/Dtos/{DtoInfo.UpdateTypeName}.cs [20:09:01 INF] Evaluated value of
SKIP_GENERATE
is true, skip generating. [20:09:01 DBG] Generating using template file: /Templates/Crud/Groups/Service/src/{ProjectInfo.FullName}.Application.Contracts/{EntityInfo.RelativeDirectory}/Dtos/{EntityInfo.CompositeKeyName}.cs [20:09:02 INF] Evaluated value ofSKIP_GENERATE
is true, skip generating. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/Service/src/{ProjectInfo.FullName}.Application.Contracts/{EntityInfo.RelativeDirectory}/I{EntityInfo.Name}AppService.cs [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Application.Contracts/Entidades/ILancamentoDeReceitaAppService.cs successfully generated.[20:09:02 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:02 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.Application.Contracts\Permissions\ContabilidadePermissions.cs', stored in parameter: 'FileFinderResult'
[20:09:02 DBG] PermissionsStep Output [modifications]: Modifications count: 1
[20:09:02 DBG] FileModifierStep Input [modifications]: Modifications count: 1
[20:09:02 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:02 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.Application.Contracts\Permissions\ContabilidadePermissionDefinitionProvider.cs', stored in parameter: 'FileFinderResult'
[20:09:02 DBG] PermissionDefinitionProviderStep Output [modifications]: Modifications count: 1
[20:09:02 DBG] FileModifierStep Input [modifications]: Modifications count: 1
[20:09:02 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:02 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.Application\ContabilidadeApplicationAutoMapperProfile.cs', stored in parameter: 'FileFinderResult'
[20:09:02 DBG] ApplicationAutoMapperProfileStep Output [modifications]: Modifications count: 2
[20:09:02 DBG] FileModifierStep Input [modifications]: Modifications count: 2
[20:09:02 DBG] TextGenerationStep Input [model]: '{ ProjectInfo = BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False, Option = EasyAbp.AbpHelper.Core.Commands.Generate.Crud.CrudCommandOption, EntityInfo = EasyAbp.AbpHelper.Core.Models.EntityInfo, InterfaceInfo = , ClassInfo = , Bag = System.Dynamic.ExpandoObject, DtoInfo = EasyAbp.AbpHelper.Core.Models.DtoInfo }'
[20:09:02 DBG] TextGenerationStep Output [text]: Length: 1787
[20:09:02 DBG] DirectoryFinderStep Input [excludeDirectories]:
[20:09:02 DBG] DirectoryFinderStep Output [directoryPathName]: Found directory: C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Domain.Shared\Localization, stored in parameter: [DirectoryFinderResult]
[20:09:02 DBG] MultiFileFinderStep Input [excludeDirectories]:
[20:09:02 DBG] MultiFileFinderStep Output [files]: Found files count: 1, stored in parameter: 'MultiFilesFinderResult'
[20:09:02 DBG] GroupGenerationStep Input [model]: '{ ProjectInfo = BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False, Option = EasyAbp.AbpHelper.Core.Commands.Generate.Crud.CrudCommandOption, EntityInfo = EasyAbp.AbpHelper.Core.Models.EntityInfo, InterfaceInfo = , ClassInfo = , Bag = System.Dynamic.ExpandoObject, DtoInfo = EasyAbp.AbpHelper.Core.Models.DtoInfo }' [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/CreateModal.cshtml [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/CreateModal.cshtml successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/CreateModal.cshtml.cs [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/CreateModal.cshtml.cs successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/EditModal.cshtml [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/EditModal.cshtml successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/EditModal.cshtml.cs [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/EditModal.cshtml.cs successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/Index.cshtml [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/Index.cshtml successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/Index.cshtml.cs [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/Index.cshtml.cs successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/ViewModels/CreateEdit{EntityInfo.Name}ViewModel.cs [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/ViewModels/CreateEditLancamentoDeReceitaViewModel.cs successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/ViewModels/Create{EntityInfo.Name}ViewModel.cs [20:09:02 INF] Evaluated value of
SKIP_GENERATE
is true, skip generating. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/ViewModels/Edit{EntityInfo.Name}ViewModel.cs [20:09:02 INF] Evaluated value ofSKIP_GENERATE
is true, skip generating. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/index.css [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/index.css successfully generated. [20:09:02 DBG] Generating using template file: /Templates/Crud/Groups/UiRazor/src/{ProjectInfo.FullName}.Web/Pages/{Bag.PagesFolder}/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}/index.js [20:09:02 INF] File C:\p\gcaspp\Contabilidade/src/Gcaspp.Contabilidade.Web/Pages//Entidades/LancamentoDeReceita/index.js successfully generated.[20:09:02 DBG] MultiFileFinderStep Input [excludeDirectories]:
[20:09:03 DBG] MultiFileFinderStep Output [files]: Found files count: 1, stored in parameter: 'MultiFilesFinderResult'
[20:09:03 DBG] MenuNameStep Output [modifications]: Modifications count: 1
[20:09:03 DBG] FileModifierStep Input [modifications]: Modifications count: 1
[20:09:03 DBG] MultiFileFinderStep Input [excludeDirectories]:
[20:09:03 DBG] MultiFileFinderStep Output [files]: Found files count: 1, stored in parameter: 'MultiFilesFinderResult'
[20:09:03 DBG] MenuContributorStep Output [modifications]: Modifications count: 1
[20:09:03 DBG] FileModifierStep Input [modifications]: Modifications count: 1
[20:09:03 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:03 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade/src\Gcaspp.Contabilidade.Web\ContabilidadeWebAutoMapperProfile.cs', stored in parameter: 'FileFinderResult'
[20:09:03 DBG] WebAutoMapperProfileStep Output [modifications]: Modifications count: 2
[20:09:03 DBG] FileModifierStep Input [modifications]: Modifications count: 2
[20:09:03 DBG] GroupGenerationStep Input [model]: '{ ProjectInfo = BaseDirectory: C:\p\gcaspp\Contabilidade, FullName: Gcaspp.Contabilidade, Name: Contabilidade, TemplateType: Application, UiFramework: RazorPages, Tiered: False, Option = EasyAbp.AbpHelper.Core.Commands.Generate.Crud.CrudCommandOption, EntityInfo = EasyAbp.AbpHelper.Core.Models.EntityInfo, InterfaceInfo = , ClassInfo = , Bag = System.Dynamic.ExpandoObject, DtoInfo = EasyAbp.AbpHelper.Core.Models.DtoInfo }' [20:09:03 DBG] Generating using template file: /Templates/Crud/Groups/Test/test/{ProjectInfo.FullName}.Application.Tests/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}AppServiceTests.cs [20:09:03 INF] File C:\p\gcaspp\Contabilidade/test/Gcaspp.Contabilidade.Application.Tests/Entidades/LancamentoDeReceitaAppServiceTests.cs successfully generated. [20:09:03 DBG] Generating using template file: /Templates/Crud/Groups/Test/test/{ProjectInfo.FullName}.Domain.Tests/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}DomainTests.cs [20:09:03 INF] File C:\p\gcaspp\Contabilidade/test/Gcaspp.Contabilidade.Domain.Tests/Entidades/LancamentoDeReceitaDomainTests.cs successfully generated. [20:09:03 DBG] Generating using template file: /Templates/Crud/Groups/Test/test/{ProjectInfo.FullName}.EntityFrameworkCore.Tests/EntityFrameworkCore/{EntityInfo.RelativeDirectory}/{EntityInfo.Name}RepositoryTests.cs [20:09:03 INF] File C:\p\gcaspp\Contabilidade/test/Gcaspp.Contabilidade.EntityFrameworkCore.Tests/EntityFrameworkCore/Entidades/LancamentoDeReceitaRepositoryTests.cs successfully generated. [20:09:03 DBG] Generating using template file: /Templates/Crud/Groups/Test/test/{ProjectInfo.FullName}.Web.Tests/Pages/{EntityInfo.RelativeDirectory}/IndexTests.cs [20:09:03 INF] File C:\p\gcaspp\Contabilidade/test/Gcaspp.Contabilidade.Web.Tests/Pages/Entidades/IndexTests.cs successfully generated.
[20:09:03 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:03 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:03 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.EntityFrameworkCore\Gcaspp.Contabilidade.EntityFrameworkCore.csproj', stored in parameter: 'MigrationProjectFile'
[20:09:03 DBG] FileFinderStep Input [excludeDirectories]:
[20:09:03 DBG] FileFinderStep Output [filePathName]: Found file: 'C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.Web\Gcaspp.Contabilidade.Web.csproj', stored in parameter: 'StartupProjectFile' [20:09:03 DBG] RunCommandStep Input [command]: 'dotnet ef migrations add AddedLancamentoDeReceita -p "C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.EntityFrameworkCore\Gcaspp.Contabilidade.EntityFrameworkCore.csproj" -s "C:\p\gcaspp\Contabilidade\src\Gcaspp.Contabilidade.Web\Gcaspp.Contabilidade.Web.csproj"' [20:09:06 DBG] Build started... [20:09:24 DBG] Build failed. Use dotnet build to see the errors. [20:09:24 ERR] Error while invoking activity activity-90 of workflow b928e5d0e7974dc391827e9869e81701 EasyAbp.AbpHelper.Core.Steps.Common.RunningCommandFailedException: Exception of type 'EasyAbp.AbpHelper.Core.Steps.Common.RunningCommandFailedException' was thrown. at EasyAbp.AbpHelper.Core.Steps.Common.RunCommandStep.OnExecuteAsync(WorkflowExecutionContext context, CancellationToken cancellationToken) in D:\a\AbpHelper.CLI\AbpHelper.CLI\src\AbpHelper.Core\Steps\Common\RunCommandStep.cs:line 26 at Elsa.Services.ActivityInvoker.InvokeAsync(WorkflowExecutionContext workflowContext, IActivity activity, Func
2 invokeAction) [20:09:24 ERR] Error activity: { "Command": { "Syntax": "JavaScript", "Expression": "
dotnet ef migrations add Added${EntityInfo.Name} -p \"${MigrationProjectFile}\" -s \"${StartupProjectFile}\"`", "Type": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" }, "Name": "AddMigration" }