Single layout for 'edit' and 'debug' in Visual Studio

后端 未结 4 449
后悔当初
后悔当初 2021-01-30 20:12

In Visual Studio 2008, \'Start Debugging\' switches Visual Studio to a different layout. How can I force Visual Studio to use a single layout at all times?

I could atte

4条回答
  •  一个人的身影
    2021-01-30 20:41

    I think your question was, "How do I use the same settings for both modes?" Am I right? Although @Chris gave an excellent thesis on how to stuff automagically, I wanted to point out, for anyone else that finds this question that there is an easy way to acheive same window settings for both design and debug modes.

    Export your settings:

    1. Choose General Settings/Window Layouts (in VS 2013) and save the file.
    2. Open the file in an XML editor (or whatever... it's an XML file)
    3. Find /UserSettings/Category/Design/WindowProfile and copy the entire node. -- This assumes your Design view is the one you want to use for both modes.
    4. Find /UserSettings/Category/Debug/WindowProfile and replace it with the one you copied from Design.
    5. Save and re-import.

    I have one of these settings files for home, remote, and office.

提交回复
热议问题