- Home /
Multiple Unity Projects on Mac. Can I have them open to separate VS instances?
I'm running Unity on Mac. Using Hub makes it easier to open a second instance of unity for a second project. Instead of having to open terminal and type open -n [path to unity] any time I want another.
VS in mac starts on the same principal, Its one instance, so opening another project changes out the current project. The problem is when I try to open a script from Unity, it closes the previous visual studio project and opens a new one.
I want two instances of Unity open, each able to reference a different instance of visual studio. This is default windows behavior. As is, I avoid this as much as a I can, but having multiple projects open is a bit of a necessity. Is there a reasonable solution for this, or am I stuck because of mac?
Answer by DanVioletSagmiller · Oct 08, 2018 at 07:01 PM
Found a solution. Tested, working. MS Solution Launcher (https://github.com/Redth/MSSolutionLauncher/releases) . download/setup took about 2 minutes.
Now, When I have multiple instances of Unity open, each one goes to its unique Visual Studio instance. It also gets around the common opposite issue where Unity loads a new instance of VS for every script you try. It always finds the right project.
Answer by SkaredCreations · Oct 08, 2018 at 05:40 PM
There isn't a way to handle double clicks, it will ever open the script/project in the last VS.
But you can launch multiple instances of VS in Terminal (open -n /Applications/Visual\ Studio.app, I have added it as alias in ~/.bash_profile with alias newVS="open -n /Applications/Visual\ Studio.app" so that I can run it with newVS where ever I am) and keep all your projects opened (but remember to not double-click scripts in Unity).
Answer by DayDreamDesigner · Jul 23, 2020 at 05:09 PM
@DanVioletSagmiller Could you please tell me how can I install "MS Solution Launcher" on mac osx (high sierra), since the folder on GitHub with that "Application" doesn't have any file with the ".dmg" or ".pkg" extension, nor can I see "MS Solution Launcher.app"?
Thank you
Your answer
Follow this Question
Related Questions
Visual Studio alternatives for Mac 3 Answers
In-app purchase "Invalid product" on Mac Store build 0 Answers
How do I create Visual Studio solutions for Mac using Unity iPhone and MonoDevelop? 2 Answers
Apple development -- do you seriously need a Mac to develop? 2 Answers
unity plugins for mac,the bundle file how to callback the c#? 1 Answer