If your working on a large solution with many projects in Visual Studio you can speed up VS load time by excluding the projects you don’t need loaded (perhaps because other developers are working on them) using a Solution Filter.
If we have the following normal (unfiltered) solution we can apply solution filters very easily.
- Right click on any non relevant projects and select ‘Unload Project’.
- Right click on the solution and click ‘Save As Solution Filter’.
- Double click the solution filter file (.snlf) to open the filtered solution.
In the above example I’ve excluded two projects (ConsoleApp2 and UnitTestProject1). The markup in the .snlf file is simple as can be seen below.