-
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: Support for slnx #44570
base: main
Are you sure you want to change the base?
sln-add: Support for slnx #44570
Conversation
d397257
to
b6aa066
Compare
9f9f687
to
6e7f552
Compare
Refactor code Refactor code Add translations Fix typo Fix issues with --solution-folders Standarize error messages and tests Fix solution folder formatting Nit: Address pr comments
bf6d349
to
90f4248
Compare
@edvilme checkout the complete feedback. using solution.FindProject makes the regex usage irrelevant |
Turns out the heuristics for generating project GUIDs are different between the old and new serializers, which was causing several tests to break. Replacing them should have no repercussions as they are mostly for identifying the projects individually |
running
the second error reflects validation behavior that goes against the single responsibility principle, as tests conforming to if tools like vs, vscode, slngen, and the sdk are transitioning to these are all the “error” cases blocking this pr for two weeks, but none of them are actually relied upon for functionality. a note in the 9.0.2x docs like “we've switched to a new solution file library from the core vs team, replacing the old one from the discontinued monodevelop” should suffice to explain minor (git-diff visible) differences without impacting functionality. |
I think you raise good points. @edvilme chatted with me regarding this, and we think we can remove these error cases blocking this PR. We are also going to go over these error cases with the SLNX team to make sure that none of these old behaviors are behaviors they deem to be important to keep. |
Contributes to #40913
This adds
dotnet sln add
support for .slnx files