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

fix issue 201 can use hyphen in name #284

Closed
wants to merge 5 commits into from

Conversation

askazakov
Copy link
Contributor

fix #201

see dotnet/templating#1168

now I can

mkdir try-temp.1 && cd "$_"
dotnet new clean-arch

now I can
```
mkdir try-temp.1 && cd "$_"
dotnet new clean-arch
```
@askazakov
Copy link
Contributor Author

a lot of changes but there is only renaming actually

@askazakov askazakov force-pushed the issue-201-respect-dash branch from d8efbac to 02c6385 Compare November 29, 2021 10:53
@ardalis
Copy link
Owner

ardalis commented Jan 11, 2022

Looking to merge this; can you resolve conflicts when you get a chance? Sorry for the delay in getting to it

@askazakov
Copy link
Contributor Author

I merge main but encountered with #308

@askazakov
Copy link
Contributor Author

@ardalis should I bump version to 6.0.10?

@@ -20,4 +20,4 @@ jobs:
- name: Build with dotnet
run: dotnet build --configuration Release
- name: Test with dotnet
run: dotnet test ./Clean.Architecture.sln --configuration Release
run: dotnet test ./Clean.Architecture.1.sln --configuration Release
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the .1 additions for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.sln file name should match with "sourceName" from template.json. .1 is one option to respect special symbol (like -) to correctly instantiate solution from template. Another option is to use _Clean.Architecture_ everywhere

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

Successfully merging this pull request may close these issues.

Solution can't load if hypen is used in the name
2 participants