Reputation: 516
I'm working on a Razor webapp that includes two solutions from two different folders. I need some projects from both solutions to run when I'm testing, but I'm only modifying code in one of the two solutions.
Is it possible to run projects from two solutions, using just one instance of Rider?
I am aware that it is possible to open both solutions and using Multi-Launch configs, but as my hardware is not really strong, I'd prefer not to open two instances just for this.
Upvotes: 0
Views: 26
Reputation: 109
You can create several Shell configurations per app/project you want to launch, then create a Multi-launch or Compound configuration to launch these Shell configurations at once:
Upvotes: 0
Reputation: 109
If you do not need to anyhow edit or debug the code from solution B, there is what you can do:
Script text:
dotnet run --project ~/RiderProjects/SomeRepoToDelete/WebRazorPAgesa/WebRazorPAgesa --launch-profile "https"
;
Working is directory set to the same path: path to project directory with .csproj inside;
Save the run configuration. Now you can select it from the toolbar to launch the application from another solution:
Hope that helps!
Upvotes: 1