P.Brian.Mackey
P.Brian.Mackey

Reputation: 44285

Open two different source versions simultaneously

In instance 1 of Visual Studio I want to open the latest version of my source. In instance 2 of VS I want to open a previous version. How can I do this?

I tried opening two instances of VS and just pulling it, but since they both point to the same directory "C:\Source\ProjectName", I end up just overwriting one or the other.

Upvotes: 1

Views: 171

Answers (3)

Jaxidian
Jaxidian

Reputation: 13511

Is there a reason you don't you just either branch or make copy of the solution to a separate folder on disk? That's what I would do (in fact, branching in TFS is specifically what we do for these sorts of situations).

[edit] I'm assuming that the Compare feature is not what you're looking for? If so, there are fairly simple ways to enhance the default functionality there, such as using DiffMerge.

Upvotes: 1

kenwarner
kenwarner

Reputation: 29120

Try creating another workspace and map it to a different file directory. Then have your original workspace open in VS #1 and the new workspace open in VS #2

Upvotes: 1

Robert Greiner
Robert Greiner

Reputation: 29722

If you actually want to have two versions of the file open in two different VS instances, you will have to create an additional workspace that points to the same repository and use "get specific version" on the file you want.

Then you can have one instance of VS open with the latest version and the other instance open with the specific version.

You can learn how to create a new workspace here if you don't already know.

Upvotes: 0

Related Questions