views:

31

answers:

2

I often work at the office using dual screen and at home using single screen. The window layout of Visual Studio 2010 is messing with me :(. I want to save/restore the layout so that I can quickly "switch" to the layout I want.

How can I do that? Is it possible? Any helps of yours are much appreciated!

+1  A: 

One way to do this is to export the different layout settings into .vssettings files. You can then import the setting of your choice and get back the desired layout.

To export the setting

  • Tools -> Import / Export Settings
  • Select "Export" and hit next
  • Ensure "General Settings -> Window Layouts" is checked
  • Complete the wizard and export the settings

I'm not 100% sure this will work for multi-monitor settings. If it doesn't I would encourage you to file a bug on connect.

JaredPar
+2  A: 

Here are the steps:

  1. Export your windows layout settings the way you like to use them at work into a .vssettings file

  2. Export your windows layout settings the way you like ot use tham at home into a .vssettings file

  3. Create shortcuts for devenv.exe /resetsettings [home.vssettings] and one for devenv.exe /resetsetting [work.vssettings]

  4. That's it. Just use one shortcut while at home to open VS and the other at work. You can get more details here: http://blogs.msdn.com/b/zainnab/archive/2010/11/05/the-resetsettings-switch-vstipenv0047.aspx

zainnab