admin管理员组文章数量:1289845
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.
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.
Share Improve this question asked Feb 20 at 10:36 Olivér RaiszOlivér Raisz 5181 gold badge6 silver badges23 bronze badges2 Answers
Reset to default 1You 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:
If you do not need to anyhow edit or debug the code from solution B, there is what you can do:
- Open Solution A (the one you edit);
- Go to Run | Edit Configurations;
- Add new Shell Script run configuration (for the project that belongs to another solution);
- Adjust it as per below example:
- I used these values
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!
本文标签: ideMultiple Startup projects from different solutions in RiderStack Overflow
版权声明:本文标题:ide - Multiple Startup projects from different solutions in Rider - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741443321a2379045.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论