-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
File extension ".sln" is sometimes required and other times not #18739
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Can I work on this? |
With
@baronfel What do you think? I can take this along with the #40817. |
I know. I was asking about future proofing. I'm not going to put the code which does not work today. You'll see what I was talking about when I put the Draft PR. So, Can I work on this? |
@Nirmal4G I think it's safe to go for it, thanks! |
If you call
dotnet new sln --name
then the file extension ".sln" is added for you to the file. If you have the file extension in the shell option then ".sln" is written two times.That alone is no problem but if you call then the command below it will be:
I think it should be one behavior in one tool. I call the command above in one script and I have a variable $solutionname. For each call of the command I muss add the file extension or not.
I don't think it would be a good idea to change this behavior because of existing scripts out there. But I would tell you the behavior if not already known.
The text was updated successfully, but these errors were encountered: