In Visual Studio 2010, I'm adding a command by going tools -> customize -> commands
. However, th开发者_StackOverflow中文版e changes I make there appear to be temporary. After I open Visual Studio another time, my command is not there.
How do I add a command so that it stays?
The problem probably comes from VS not having permissions to modify its settings, when running as a non-administrator, due to UAC limitations. I actually don't have this problem - on my Win7, VS10 settings stick even when running as regular user, but this might be an issue with specific installation settings.
Bottom line, running VS as administrator should remove the permissions limitations, and allow VS to store the modified settings properly.
精彩评论