Set Multiple Startup Projects in Visual Studio for Mac?

流过昼夜 提交于 2020-01-21 04:17:26

问题


Is it possible/how do I set multiple start up projects in Visual Studio for Mac?

It is very easy and common to do it in VS for Windows (https://msdn.microsoft.com/en-us/library/ms165413.aspx) but struggling to find the option on VS for Mac in the application and online.


回答1:


You can do this by creating a run configuration for the solution.

  1. Select the solution in the Solution window and right click it and select Options.
  2. Select Run - Configurations.
  3. Click the New button and specify a name for the configuration.
  4. Expand the Configurations on the left hand side and select the new run configuration just created from the left hand side.
  5. Then check those projects you want to run when the solution is run.
  6. Click OK to save the changes.

Then in the main toolbar select the run configuration.

Then when you debug/run both projects will be started.



来源:https://stackoverflow.com/questions/47012738/set-multiple-startup-projects-in-visual-studio-for-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!