How to Export/Import Toolbars in Visual Studio

后端 未结 3 1358
刺人心
刺人心 2021-01-31 05:01

I export my settings in Visual Studio and if I ever move to a new machine or have problems, I use those backed up settings to restore Visual Studio to the way I like it. It also

3条回答
  •  生来不讨喜
    2021-01-31 05:34

    I have finally found the solution to this. There is a known bug in Visual Studio and there are two workarounds given. The first workaround does not apply, but the second worked.

    To Backup your toolbars:

    Copy the file CmdUI.PRF from the path %AppData%\Microsoft\VisualStudio\X.Y\1033 to the same directory as your exported .settings file. where X.Y is either of 8.0, 9.0, 10.0 or 11.0 depending on your visual studio version (2005, 2008, 2010 and 2012 respectively).

    To Restore your toolbars:

    Make sure Visual Studio is closed and copy the backed up file back to the original location.

提交回复
热议问题