A Visual Studio 2022 extension to quickly load and unload projects. Perfect for large solutions.
Get the extension from the Visual Studio Marketplace, or search for "Project Filter" in Visual Studio's Manage Extensions dialog.
ℹ️ A version for Visual Studio 2019 can be found here.
Once the extension is installed, a Filter Projects button will be shown in Solution Explorer. That button will open the Project Filter dialog. Simply tick on the projects that you want loaded and untick the projects that you want unloaded, then click OK. You can also choose to load all project dependencies of the projects that are loaded.
The Filter Projects button is not bound to a keyboard shortcut, but you can assign one yourself. The command name is ProjectFilter.FilterProjects
.
The Project Filter dialog comes with some keyboard shortcuts.
Key Combination | Action |
---|---|
Alt+L | Toggle the Load dependencies of the loaded projects option. |
Alt+A | Tick all projects shown in the tree. |
Alt+Z | Untick all projects shown in the tree. |
Alt+= | Expand all nodes in the tree. |
Alt+- | Collapse all nodes in the tree. |
The shortcuts to check or uncheck all projects will only change the projects shown in the tree. This means you can filter the tree using the search box, and then check or uncheck the results without affecting projects that did not meet the filter.