dotnet / dotnet/core

dotnet new template engine is replacing hyphens with underscores

Open
#5,024 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
22k
Forks
4.9k
Avg merge
5d 5h
Merged PRs (30d)
29

Description

When using the templating engine and hyphens in the name, the solution that is generated has underscores instead of hyphens. This utterly destroys the entire solution.

i.e

dotnet new [custom template] -n demo-api

The solution contains demo_api and not demo-api.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.