Syncing Visual Studio settings

I finally took time and figure out how to keep Visual Studio settings in sync across different machines (work, laptop, home, virtual,…) as I really grew tired of importing color schemes and fixing mixed up shortcut keys. Bonus is, you get easy backup of your most important settings which you will love next time you reinstall your machine!

Actually this is really simple task. What you’ll need is some kind of syncing program, I currently run DropBox, but I believe Live Sync would also work. Same procedure works for Visual Studio 2008 and 2010. Might also work with previous version, but I don’t have them installed, so I can’t check.

First, export your settings into a file. I choose to sync only color and font setting and keyboard settings.

image

Documentation says you should put this file on UNC share and use it from different computers. But nothing is stopping you from syncing it over the internet! Save exported settings file in a folder you will sync across computers, so in my case this is somewhere under “My Dropbox”.

Then, in Visual Studio use “Team Settings” feature in Options / Environment / Import and Export Settings.

image

What is does is, every time you lunch Visual Studio, it’ll check timestamp of .vssettings file and if it is updates, it will apply settings from that file! Done!

Just remember: If you change and of your synced settings on any machine and you would like to use those changes across all computers, you should manually export settings again!

 

Another tip… Use different file for different Visual Studio versions. I run 2008 and 2010, so I have SharedSettings and SharedSettings_2008 files synced.

Avtor: Anonymous, objavljeno na portalu SloDug.si (Arhiv)

Leave a comment

Please note that we won't show your email to others, or use it for sending unwanted emails. We will only use it to render your Gravatar image and to validate you as a real person.