-
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
sln-add: Remove default values #45940
sln-add: Remove default values #45940
Conversation
Also up for discussion: The use of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this PR only change indentation? Are you looking for feedback if the defaults should be changed?
hide the whilespace to see the change https://github.com/dotnet/sdk/pull/45940/files?w=1. it's moving configs to the sln only block |
It adds those configurations only for .sln files for backwards compatibility (not breaking any sln files). However, I do think the default configurations/platforms should maybe be reviewed (i.e., does it make sense to have them hardcoded?) :) |
since its inception, the sln-add command has always strived to match the behavior of Visual Studio |
73322e9
to
63a5e05
Compare
For compatibility and to avoid breaking changes, default configurations and platforms were kept when moving to vs-solutionpersistence. This is irrelevant to add by default to .slnx files (i.e., doesn't break anything and might be redundant)