Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dash - in sourceName gets changed to underscore _ inside files but not in file names #5826

Open
1 task done
mjebrahimi opened this issue Oct 26, 2023 · 0 comments
Open
1 task done

Comments

@mjebrahimi
Copy link
Contributor

mjebrahimi commented Oct 26, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Reproduce:

dotnet new bit-ssb --name a-b.c &
cd a-b.c &
dotnet restore
mkdir a-b.c &
cd a-b.c &
dotnet new bit-ssb &
dotnet restore

More Information and Solution:
dotnet/templating#1168
dotnet/templating#1193
dotnet/templating#1920
https://github.com/dotnet/templating/wiki/Naming-and-default-value-forms

Fixed Sample:
TheAngryByrd/MiniScaffold#86
https://github.com/TheAngryByrd/MiniScaffold/tree/master/Content

Testing:

dotnet new install MiniScaffold
mkdir a-b.c &
cd a-b.c &
dotnet new mini-scaffold &
dotnet restore
dotnet new mini-scaffold --name a-b.c &
cd a-b.c &
dotnet restore

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

8.0.100-rc.2.23502.2

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant