Set Multiple Startup Projects in Visual Studio for

2019-02-16 18:31发布

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条回答
We Are One
2楼-- · 2019-02-16 19:13

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.

Solution options

Then in the main toolbar select the run configuration.

Main toolbar

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

查看更多
登录 后发表回答