-
Notifications
You must be signed in to change notification settings - Fork 43
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
BuildVision for 2022 Causing Solution Explorer to sort Folders in different order #114
Comments
Hi there, this is actually very weird. I have tried reproducing this issue, but I wasn't able to get that behavior. Are you able to provide a .sln that can be used to reproduce this issue? Thanks in advance @BroMarduk :) |
See attached solution below and the steps to reproduce this. Here is a test solution I used.
Folders are now in the Solution Explorer not in alphabetical order but in the order they were added to the solution. This only occurs when the BuildVision window is docked for me and it reopens in the same place when Visual Studio is restarted. If I close the BuildVision window so it no longer appears on restart, when I reopen the solution, everything is sorted correctly. In this example I used folders, but I can recreate the solution with top level projects and get the same result. |
I've observed similar happening with a solution of mine but didn't think it was possibly related to BuildVision. I'm able to replicate this behaviour in one particular solution we have, but not others with the BuildVision window as described in the previous post. I don't even need to re-start VS 2022, just need to reload the solution (via File > Recent Projects and Solutions). Our solution structure is something like this:
|
After some more experimentation, I can't say 100% the window being docked is necessary. It will happen eventually even without the window docked. |
After installing the preview for BuildVision for 2022, I noticed that my folders in Solution Explorer are now sorted differently. Normally they are alphabetical, but after installing BuildVision they seem to be sorted in the order the projects are loaded from the solution. (All of our projects are in folders, so I don't know if it affects the sorting of projects as well).
If I move stuff around, the next time the solution loads, it displays them in the same initial way, which is what I think is the order they are referenced in the solution file.
Normal Solution Explorer Sorting
Solution Explorer Sorting with BuildVision
The text was updated successfully, but these errors were encountered: