Feature Request - Unload all but this...

Rider struggles with our solution of more than 200 projects. I sometimes unload projects to make this less painful. I'd be able to use my workspace more effectively if there was a menu item when you right click on a project in solution view like “Unload all but this”. This menu item would unload all projects except the transitive closure of the selected project. This would be great because you can get Rider (or IntelliJ) to stop trying to update/sync/build projects that have nothing to do with what you're working on. In my case, it could often unload all but a dozen or so projects, which would make performance about 20x better than it is now, at least for me. If there's not a workaround, this would make a neat feature.

 

0
3 comments

Hello Jon,

Thank you for contacting Rider support.

First of all, you can achieve the desired behavior in Rider 2023.2.2 in the following way:

  • Unload all the projects (by right-clicking on the root node in the solution explorer and selecting Unload Projects;
  • Then right-click on a desired project and select Load Project with Dependencies;

Then, the intended approach of loading a subset of projects in a solution is to use Filtered Solution (.slnf). Solution filters are supported in Rider. So you need to select the .slnf file (if that exists). 

The ability to create solution filters from Rider is now available in Rider 2023.3 EAP 3. For that purpose:

  • Open a solution;
  • Unload all projects and load the set of required projects;
  • Right-click on a solution in explorer and select Save as Solution Filter;
  • Enter file name like “NeededProjects.slnf”;
  • Now you can open the created solution filter, so that you will get the desired behavior.

Hope that helps!

Should you have any other questions or difficulties, please tell me.

Have a nice day!

 

1

Wow, that's awesome. And great response. Thanks so much!

0
Hello Jon,

I am glad to hear that I was able to help.
If there are no other questions, then I am going to proceed with archiving this ticket.
Should you have any other questions or difficulties in the future, do not hesitate to contact support.

Have a nice day!
0

Please sign in to leave a comment.