martyndev
martyndev

Reputation: 465

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?

Upvotes: 29

Views: 9530

Answers (5)

SHUBHAM SHARMA
SHUBHAM SHARMA

Reputation: 31

  1. First, open your first solution
  2. go to files and then recent solution then find your solution
  3. ctrl+tick on that solution you want to open

Upvotes: 2

SushiHangover
SushiHangover

Reputation: 74124

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

Upvotes: 50

Sanjay Shrivastava
Sanjay Shrivastava

Reputation: 229

Open terminal and run the command:

open -n -a "Visual Studio"

Upvotes: 15

Kodejack
Kodejack

Reputation: 441

As a short cut I create a simple automator application that runs a bash script to open a new instance. You can do this with most Apps.

open -n /Applications/Visual\ Studio.app

Automator Menu choose Application

Automator Shell script inside application

When done save your automator application I usually call it "VSMac Clone" and give it a funky icon.

You can use the one I created at your own risk VSMac Clone

Upvotes: 6

matthewrdev
matthewrdev

Reputation: 12170

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

Upvotes: 25

Related Questions