在Visual Studio for Mac中设置多个启动项目? [英] Set Multiple Startup Projects in Visual Studio for Mac?

查看:206
本文介绍了在Visual Studio for Mac中设置多个启动项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以/如何在Visual Studio for Mac中设置多个启动项目?

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

在VS for Windows( https://msdn.microsoft.com/zh-cn/library/ms165413.aspx ),但在应用程序中和在线上都很难在VS 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.

推荐答案

您可以通过为解决方案创建运行配置来做到这一点.

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

  1. 在解决方案"窗口中选择解决方案,然后右键单击它,然后选择选项".
  2. 选择运行-配置.
  3. 单击新建"按钮并为配置指定名称.
  4. 展开左侧的配置,然后选择刚从左侧创建的新运行配置.
  5. 然后在运行解决方案时检查要运行的项目.
  6. 单击确定"保存更改.

然后在主工具栏中选择运行配置.

Then in the main toolbar select the run configuration.

然后,当您调试/运行两个项目时,将启动.

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

这篇关于在Visual Studio for Mac中设置多个启动项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆