abpframework / abp

Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
https://abp.io
GNU Lesser General Public License v3.0
12.85k stars 3.43k forks source link

Studio and new Cli are not using the latest template #21062

Open renping106 opened 4 days ago

renping106 commented 4 days ago

Is there an existing issue for this?

Description

There are differences in the program.cs file created by new cli and old cli. Template is app. Let‘s compare the program.cs file in project MyProjectName.Web. New cli: image Old cli: image

Reproduction Steps

  1. Create a new project by old cli. abp new Acme.BookStore -m none --theme leptonx-lite -csf --old
  2. Create a new project by new cli. abp new Acme.BookStore -m none --theme leptonx-lite -csf
  3. Compare the program.cs in MyProjectName.Web

Expected behavior

program.cs should be the same.

Actual behavior

They are different. Looks like the new cli is using a template with a very old version.

Regression?

No response

Known Workarounds

No response

Version

8.3.1

User Interface

Common (Default)

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

Other information

No response

improwise commented 2 days ago

There are other differences also it seems, like the old CLI having full support for Docker while the new one (or rather solutions created with it and ABP Studio) has almost none. Folder structure etc. is also different. All in all there seem to be a substantial amount of differences between two created solutions both using respective 8.3.1 CLI.

We are using the commercial version of ABP, so there might be differences compared to the open source one, but with the base being the same for both, most of them should be the same I think.