4

I am trying to open the source view of one large .aspx file in two separate windows/tabs in Visual Studio 2013. The "Window > New Window" option is greyed out for this file type.

I am able to do this with other file types including .cs, .css, .js, etc.

I have tried the suggestions in Open two instances of a file in single Visual Studio session including the registry edit and the custom keyboard shortcut without success. Is there a specific registry hack or some other solution for .aspx files?

Just to clarify, I am not looking to "split" the file. My end goal is to have two copies of the file open in different vertical tab groups.

Community
  • 1
  • 1
Rick
  • 1,733
  • 2
  • 18
  • 41

1 Answers1

5

It is not supported for .aspx files. You can enable the New Window command setting HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\Languages\Language Services\HTML\Single Code Window Only=0, but opening the second window gives you a blank view.

Sergey Vlasov
  • 23,292
  • 3
  • 51
  • 56
  • FWIW seems like this is still the case in VS2017. Also don't see above registry setting anymore. I guess they've change the registry a bit since then. – Neville Jun 19 '18 at 12:52