abp icon indicating copy to clipboard operation
abp copied to clipboard

New project doesn't seem to be working

Open gvassao opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

Generating a new project using the CLI doesn't seem to be working. There seems to be invalid usings being added to the top of the file:

image image

Reproduction Steps

Update the tool to the latest version:

dotnet tool install -g Volo.Abp.Cli Tool 'volo.abp.cli' was reinstalled with the stable version (version '8.1.4').

abp new Acme.BookStore -u angular --separate-auth-server --theme basic -csf ABP CLI 8.1.4 Creating your project...

After the project is generated, open the visual studio solution and compile

Expected behavior

Solution compiles

Actual behavior

There's a compilation error:

Error (active) CS0234 The type or namespace name 'Basic' does not exist in the namespace 'Volo.Abp.AspNetCore.Mvc.UI.Theme' (are you missing an assembly reference?) Acme.BookStore.HttpApi.Host /.../BookStoreHttpApiHostModule.cs 1

Regression?

No response

Known Workarounds

No response

Version

8.1.4

User Interface

Angular

Database Provider

EF Core (Default)

Tiered or separate authentication server

Separate Auth Server

Operation System

Windows (Default)

Other information

No response

gvassao avatar Jun 15 '24 21:06 gvassao

we will fix it You can delete them manually

realLiangshiwei avatar Jun 16 '24 01:06 realLiangshiwei

@realLiangshiwei thanks!

gvassao avatar Jun 16 '24 02:06 gvassao