dotnet / dotnet/templating

The `dotnet new sln` template should normalize the `name` symbol if it contians `.sln` already

Open
#6,408 0 comments 1 reaction 0 assignees View on GitHub
area: authoring Priority:3 triage:transfer-to-sdk triaged
Dominant language
No language data
Stars
1.7k
Forks
399
Avg merge
3d 5h
Merged PRs (30d)
39

Description

### Is your feature request related to a problem? Please describe.

Jared used the `sln` template with `--name Blah.sln` and was surprised to find that `Blah.sln.sln` was generated.

### Describe the solution you'd like.

Ideally the template would normalize any user-provided `name`s so that `.sln` wouldn't be appended if the user has already done so.

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.