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?
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).
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.
@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