I have a file, xyz.cpp. I want to open two instances of this file in Visual studio (BTW, I am using Visual Studio 2005). Why would I want to do so? I want
I came up with a hack that might produce the result intended in the original answer.
If you have the file you want in two windows in a source control, you can right-click on the file and select compare, you can compare the
If you do compare you will have a new window Called diff, showing you the contents of you file.
This is of course not ideal as the diff window will have the diff colors polluting the text. Note: you can compare the file you want to open to and empty file, and then you will have the window in a very ugly green background.
This is not perfect, it is a hack, but it was the only way I found to really have the same file in two windows.