Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI -t app-nolayers option results in an file not found exception #18256

Open
1 task done
espijk2 opened this issue Nov 25, 2023 · 1 comment
Open
1 task done

CLI -t app-nolayers option results in an file not found exception #18256

espijk2 opened this issue Nov 25, 2023 · 1 comment

Comments

@espijk2
Copy link

espijk2 commented Nov 25, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Description

Following the tutorial at https://docs.abp.io/en/abp/latest/Tutorials/Todo/Single-Layer/Index?UI=Blazor&DB=EF and executing the

abp new TodoApp -t app-nolayers -u blazor

it results in a file not found exception.

Reproduction Steps

Command line and execute

abp new TodoApp -t app-nolayers -u blazor

Expected behavior

Succesfull generated project

Actual behavior

Using cached template: app-nolayers, version: 7.4.2
Theme: LeptonXLite
Could not find file: /aspnet-core/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/appsettings.json
System.ApplicationException: Could not find file: /aspnet-core/test/MyCompanyName.MyProjectName.HttpApi.Client.ConsoleTestApp/appsettings.json
at Volo.Abp.Cli.ProjectBuilding.Building.ProjectBuildContextExtensions.GetFile(ProjectBuildContext context, String filePath) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Building\ProjectBuildContextExtensions.cs:line 14
at Volo.Abp.Cli.ProjectBuilding.Templates.App.AppTemplateChangeConsoleTestClientPortSettingsStep.Execute(ProjectBuildContext context) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Templates\App\AppTemplateChangeConsoleTestClientPortSettingsStep.cs:line 23
at Volo.Abp.Cli.ProjectBuilding.Building.ProjectBuildPipeline.Execute() in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Building\ProjectBuildPipeline.cs:line 19
at Volo.Abp.Cli.ProjectBuilding.TemplateProjectBuilder.BuildAsync(ProjectBuildArgs args) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\TemplateProjectBuilder.cs:line 135
at Volo.Abp.Cli.Commands.NewCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\NewCommand.cs:line 97
at Volo.Abp.Cli.CliService.RunInternalAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 169
at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 77

Regression?

No response

Known Workarounds

No response

Version

version: 7.4.2

User Interface

Blazor Server

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

Other information

This issue also occurs with the latest RC 8

@espijk2 espijk2 added the bug label Nov 25, 2023
@maliming maliming removed the bug label Nov 26, 2023
@maliming
Copy link
Member

maliming commented Nov 26, 2023

hi

This will be fixed in 7.4.3 and 8.0-rc2.

#18230

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants