Reputation: 3813
I have a large VS solution, but I'm only working on two different projects, but need all the projects loaded to do the build.
Is it possible to just see the projects I am interested in without changing the structure of the solution for build purposes?
If it's not possible, but work-arounds are available?
Upvotes: 5
Views: 4164
Reputation: 21
Take a look at the "filtered solutions" feature of Visual Studio where you can unload specific projects then save off that as a visual studio solution filter file.
Load a subset of projects - Visual Studio (Windows) | Microsoft Learn
It worked pretty good for my team and I.
Upvotes: 2
Reputation: 27009
I do it like this:
Right click solution | Add New Solution Folder
Then I just create some dummy folder. I drag all the projects and anything else I do not want to see into that folder.
Then right click the folder | Hide Folder
Note: If you work in a team environment, do not check in the solution file.
It works for me so hopefully it will work for you as well.
If only I could create a folder and throw some of the people I can think of into it and do the above trick...
Upvotes: 5
Reputation: 176
You can right click a project --> "New solution explorer view" and then you can play with the windowconfiguration like this:
Upvotes: 6