Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I open two solutions with Visual Studio for Mac at the same time?

That's it. Can this be initiated two times to open two separated solutions at the same time?

like image 892
martyndev Avatar asked Nov 20 '16 00:11

martyndev


People also ask

How do I open multiple solutions in Visual Studio Mac?

Go to File > Recent Solutions. Hold down the Ctrl key and select the solution. This combination opens the second solution in the Solution Window.

Can I run multiple instances of Visual Studio?

No, you can't run multiple instances of your application from Visual Studio. Features like "Edit and Continue", for example, can only work if there's a single instance.

How do I open multiple instances of an application on a Mac?

Trying to use the Finder to open multiple instances of an application on Mac OS X will simply cause the first instance to come to the foreground. To get around this, use the open command from the command line with the -n option. The -n option opens a new instance of the application even if one is already running.


2 Answers

By default an .app runs as a single instance/single document mode, its the Cocoa way of life and MonoDevelop/Xamarin Studio/Visual Studio for Mac follow that paradigm.

From the cmd line:

Open a solution in an existing running instance or starts the first instance:

open MySolution.sln 

Open a solution in a new instance of the application:

open -n MySolution.sln 

-n = Open a new instance of the application(s) even if one is already running.

GUI-based:

From @TomGilder comment:

MS Solution Launcher

Ref: https://github.com/Redth/MSSolutionLauncher

like image 68
SushiHangover Avatar answered Sep 28 '22 02:09

SushiHangover


You can do this in the IDE when an existing solution is open by deselecting Close current workspace when you open the solution through the File -> Open menu:

enter image description here

enter image description here

like image 20
matthewrdev Avatar answered Sep 28 '22 04:09

matthewrdev