How can I launch multiple instances of MonoDevelop on the Mac?

前端 未结 10 1643
一整个雨季
一整个雨季 2020-12-22 17:46

I would like to open a new MonoDevelop instance to work on a different project on the Mac, and the OS is currently preventing me from opening a new instance.

相关标签:
10条回答
  • 2020-12-22 18:42

    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
    

    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.

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

    open -n /Applications/Xamarin\ Studio.app
    

    EDIT 2:

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

    open -n /Applications/Visual\ Studio.app
    
    0 讨论(0)
  • 2020-12-22 18:42

    Edit your ~/.bashrc or ~/.zshrc and configure the following shortcut:

    alias xam = 'open -n /Applications/Xamarin\ Studio.app'
    

    Use as follows from the CLI:

    xam ReactiveUI.sln
    
    0 讨论(0)
  • 2020-12-22 18:46

    Also you can use shorter version:

    Open -n -a "Xamarin Studio.app"
    

    Edit: For Visual Studio for Mac and/or more shorter the command is

    Open -n -a "Visual Studio"
    
    0 讨论(0)
  • 2020-12-22 18:46

    Just Open the Terminal write or below command , you can change instance name number e.g(/Xamarin\ Studio1) it's open another one Xamarin Studio , e.g(/Xamarin\ Studio1)

    $ open -na /Applications/Xamarin\ Studio.app --args -DataPath /Users/$(whoami)/Library/Application\ Support/Xamarin\ Studio1
    

    Using above you can create any of .app multiple instance .

    0 讨论(0)
提交回复
热议问题