Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am changed the toolbar and window (like solution explore, properties windows etc.) arrangement settings i.e arrange as per my conventions.

Now I am close the vs2010 and next day I open the vs2010 then my setting lost and this things happen some time not always. i.e. some times saved and some times not saved.

e.g. I create macros, I create new toolbar and arrange my macro on my new toolbar and rename the display name of the macro.

Now I close vs2010 normally and reopen then I lost the my renamed macro it set the original name.

enter image description here

After reopen the visual studio I get this:

enter image description here

share|improve this question

migrated from Nov 13 '11 at 6:00

This question came from our site for professional and enthusiast programmers.

any one can help me please......... – Rikin Patel Nov 18 '11 at 9:23

In those situations when the settings weren't saved, did you happen to run multiple instances of Visual Studio? If you start multiple Visual Studios and then close them, the Visual Studio which was closed the last will override all the setting changes made through the other instances.

If that is not the case, maybe you could try moving the configuration file to some other location in the hard drive. You can do this through Tools - Options - Environment - Import and Export Settings. Visual Studio Settings

share|improve this answer
thanks your reply.......... i will try your solution... and i never open multiple instance of visual studio... – Patel Rikin Nov 12 '11 at 7:06
i used your solution but problem as it is.... – Patel Rikin Nov 12 '11 at 7:50
Step to follow to reproduce the defect..... 1.Choose Customize from the Tools menu. 2.Choose the Commands tab. 3.Click the Toolbar radio button and select the target toolbar from the drop down list. 4.Click the Add Command… button. 5.Select Macros in the Categories list. 6.Select the desired macro from the Commands list, and then click OK. 7.Click Modify Selection and rename the macros’ name; 8.Now close the Vs. & open the vs again follow the above step 1 to 6. 10.Now close the Vs. and open the vs my rename macro lost and get the name like Macro.ProjName.ModuleName.MacroName – Rikin Patel Nov 16 '11 at 6:51

I managed to force VS to use my custom names by manually editing .vssettings file. When you add a macro to a toolbar and assign a custom name to it, there should be two entries for it in the config file:

<add ...>Macros.Foo.Bar</add> 


<modify Name="Custom button name" ...>Macros.Foo.Bar</modify>

The modify part was missing for some of my macros. Adding them manually fixed the problem (although weirdly it didn't work the first time - restarting VS removed the modify sections and brought back the old names, which I corrected again, and then VS finally accepted them).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .