Studio and new Cli are not using the latest template
Is there an existing issue for this?
- [X] I have searched the existing issues
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:
Old cli:
Reproduction Steps
- Create a new project by old cli. abp new Acme.BookStore -m none --theme leptonx-lite -csf --old
- Create a new project by new cli. abp new Acme.BookStore -m none --theme leptonx-lite -csf
- 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
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.
I think so too, in fact I had already opened a similar issue https://github.com/abpframework/abp/issues/20388
Abp teaches us to apply the DRY method (don't repeat yourself) and I don't think that having two distinct templates is a winning solution. It requires double the maintenance and testing work for volosoft and for me. The version for Abp Studio comes out too many days late compared to the open source. I think VoloSoft should review this management. Thanks
I also had a similar issue #21592.
The new template had the line options.FileSets.AddEmbedded<MyProjectWebModule>(); in it but the old template did not.
Also, why are the new templates not open source like the old templates?
The source code of the old templates is here: https://github.com/abpframework/abp/tree/dev/templates
Where is the source code for the new templates?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.