Skip to Main Content
Visual Studio Hacks
book

Visual Studio Hacks

by James Avery
March 2005
Intermediate to advanced content levelIntermediate to advanced
304 pages
19h 23m
English
O'Reilly Media, Inc.
Content preview from Visual Studio Hacks
120
|
Chapter 4, Customizing Visual Studio
#31 Save and Move Your IDE Settings
HACK
3. Double-click on the .reg file, which will load all the keys into your
registry.
If you also want to move your user-specific settings, you should repeat the
preceding process for the key located at HKEY_CURRENT_USER\
SOFTWARE\Microsoft\VisualStudio\<7.1>. You don’t have to copy over
your user settings though; when you start Visual Studio with the new regis-
try tree, it will create a new set for you automatically.
After creating the new registry, you next need to tell Visual Studio to use the
new registry by using the
/rootsuffix switch. Go to Start Run and type
devenv.exe /rootstuffix Hacks—this will launch Visual Studio using the
new registry tree. Notice that you should type only
Hacks and not 7.1Hacks,
since Hacks is the suffix that you are adding onto the end of the current key.
When Visual Studio opens, it will be running using the new registry, and
you can play around as much as you want and switch back by simply clos-
ing Visual Studio and opening it without using the switch. If you wanted to
switch to a different registry for an extended amount of time, you could
always create a shortcut that includes the switch.
HACK
#31
Save and Move Your IDE Settings Hack #31
Move all your customizations from one computer to another with Visual
Studio 2005.
Throughout this chapter, we have looked at numerous ways that you
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Visual Studio 2015 Unleashed, Third Edition

Microsoft Visual Studio 2015 Unleashed, Third Edition

Mike Snell, Lars Powers
.Net Framework Essentials

.Net Framework Essentials

Thuan L. Thai, Hoang Lam
C# 5.0 Unleashed

C# 5.0 Unleashed

Bart De Smet
Programming .NET Security

Programming .NET Security

Adam Freeman, Allen Jones

Publisher Resources

ISBN: 0596008473Errata Page