且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Mac上启动MonoDevelop的多个实例?

更新时间:2023-11-22 20:56:16

在Mac上,如果您打开了一个应用程序并尝试再次启动它,则Mac会切换到打开的应用程序.您可以通过将选项"-n"传递给启动器来强制其打开新实例.在终端中,运行

On Mac, if you have an app open and you try to launch it again, the Mac just switches to the open app. You can force it to open a new instance by passing the option "-n" to the launcher. In a terminal, run

open -n /Applications/MonoDevelop.app

还请注意,MonoDevelop可以打开多个解决方案.为此,只需取消选中打开"对话框中的关闭当前解决方案"复选框,或者在欢迎页面"中单击最近打开的项目之一时按住控制键即可.

Note also that MonoDevelop is capable of opening multiple solutions. To do this, simply uncheck the "close current solution" checkbox in the "Open" dialog, or hold down the control key when clicking on one of the recently opened projects in the Welcome Page.

对于Xamarin Studio(已在Mac上替换了MonoDevelop),命令为

For Xamarin Studio, which has replaced MonoDevelop on Mac, the command is

open -n /Applications/Xamarin\ Studio.app

对于已替换Xamarin Studio的Visual Studio for Mac,命令为

For Visual Studio for Mac, which has replaced Xamarin Studio, the command is

open -n /Applications/Visual\ Studio.app