How to open two / multiple instances of Visual Studio for MAC?
Solution 1
Open a terminal window, and then issue the following command:
open -n -a "Visual Studio"
Solution 2
Alright, at last!, Microsoft has just implemented the simplest solution of all in Visual Studio 2019: just right click on its icon on the launch bottom bar, and choose "New instance":
See the details of the feature in the release notes of VS2019 for Mac Preview.
Solution 3
There is also the option of opening multiple solutions in the same Visual Studio instance.
- From Recent list: Hold Ctrl while clicking the solution name
- From File -> Open: Single click the .sln file, click Options and uncheck Close Current Workspace.
Credit: https://www.jimbobbennett.io/opening-multiple-solutions-in-visual-studio-for-mac/
Note. the active project(For run/debug) changes depending on which file you have marked/selected/editing.
Solution 4
If you don't want to daily search for this specific terminal command, create a script as below:
- Open "Script Editor" in Mac
- Paste: do shell script "open -n -a 'Visual Studio'"
- Save this file somewhere (On Desktop)
- Whenever need to launch another instance, simply open this file and click on "Run the Script" button
Solution 5
- Visual Studio Code
- Version: 1.39.2
![Gobi M](https://i.stack.imgur.com/VQqID.jpg?s=256&g=1)
Gobi M
Working on - iOS native application development, iOS Framework development, Hybrid mobile app development, Cordova Plugin Development
Updated on July 09, 2022Comments
-
Gobi M almost 2 years
I wish to open multiple instances of VS for Mac. I used to be able to do this with Xamarin studio using the Xamarin launcher.
How to do this with VS for Mac?
-
chris hu over 6 yearsEasy, helpful! showed me new trick of using MAC script editor. Thanks!
-
user274101 over 6 yearsCan't believe this hasn't gotten any upvotes. Amazing trick - I didn't know it was possible to have multiple solutions open at the same time in the same Solution explorer pane!
-
Mick Walker over 6 yearsUpvoting this as it was exactly what I needed
-
Alexey Strakh about 6 yearsit stopped working with the latest VS for Mac release, unable to open any project withing a solution.
-
Paramjit about 6 yearsI am using the latest version of VS for Mac and the MSSolutionLauncher is working fine. Never invoke the IDE directly. double click the solutionLauncher for opening new instance.
-
koderiter almost 6 yearsProbably a reason for no upvote is, from what I can tell, by doing this action it adds the solution to the current workspace not open a new instance of visual studio.
-
knocte almost 6 years"New Window" is not in that menu, is the option gone?
-
Kevin Danikowski almost 6 years@knocte it is still there for macs. I just downloaded it again to install last week and the new window option is still present
-
knocte almost 6 yearsI don't understand why I don't see it on my mac
-
Kevin Danikowski almost 6 years@knocte perhaps you have an older mac? i'm using a 2017. It also works on the 2015 I used to have.
-
user1623521 over 5 yearsthat screenshot is VSCode, not VS4Mac
-
Kevin Danikowski over 5 years@user1623521 good point i didn't know there was a difference. Perhaps others who don't know the difference would find benefit. I'll put a comment above the image
-
knocte over 4 yearsthe question is about VS4Mac
-
Ryan B over 3 yearsDownvoting just because @knocte's solution is more current and easier.