abpframework / abpframework/abp
CLI adds extra _ when project name starts with number
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 14.4k
- Forks
- 3.7k
- Avg merge
- 15h 32m
- Merged PRs (30d)
- 106
Description
Is there an existing issue for this?
- I have searched the existing issues
Description
When generating a new project starts with a number, solution is created with adding a _ to the project name.
This breaks docker image creation.

Reproduction Steps
Try generating a new solution with the commandL: abp new 1Test. Solution is created as _1Test.
Expected behavior
No response
Actual behavior
No response
Regression?
No response
Known Workarounds
Manually deleting _ from build.ps/build.sh files.
Version
6.0
User Interface
Common (Default)
Database Provider
EF Core (Default)
Tiered or separate authentication server
None (Default)
Operation System
Windows (Default)
Other information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with abp new 1Test, then inspect the CLI path that generates the project name and the resulting build.ps and build.sh files. Done means a numeric project name is not prefixed with an extra underscore and Docker image creation works without manually editing those scripts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100