Visual Studio 2008 open the file in the same instance

I have this problem when I have an open solution in vs .net, but then I will need to open some random * .cs or web.config file or something like a turtle / subversion for comparison. If I simply double-click the file or say SVN to open it, the windows will open WHOLE another instance of visual studio. Is there a way to make it just open a new file in the current instance that I opened? I know that I can drag and drop files into vs .net and open them this way, but if SVN opens it or I just double-click the file, it will start a new instance.

+3
source share
1 answer

I don’t have enough reputation yet, otherwise I would just comment on it, but I have the opposite behavior in Windows 7 with VS 2008 - with an open solution, double-clicking on the .vb or .cs file opens it in the current instance.

Unfortunately, W7 hid the advanced tab in file type management, but I included a third-party utility in it. My open command is C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exewith a command line option /dde, sending marked DDE and a DDE message Open("%1")- check that your code is the same.

+1
source

Source: https://habr.com/ru/post/1726070/


All Articles