Learning Curve…

Way to change “devenv” command location

Posted on: December 28, 2010

If you have different versions of Visual Studio (Say 2008/2010) installed in your system ,
And when you  opening Visual Studio with “devenv” command from “Run” window then
it opens a version of Visual Studio (say 2008) but you actually want Visual Studio 2010 should open by default.
Then you can simply change “devenv” command location using following steps :-
1. Open regeistry editor by typing regedit on Run.

2. Locate and open the following key My   Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\devenv.exe

3. Currently your devenv.exe mapped to C:\Program Files\Microsoft Visual Studio 9\Common7\IDE\devenv.exe — This is for VS2008

4. If you want open VS2010 from Command, you must change the map to

C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe

For this go to edit in registry edit and

Just change to 9 to 10.0
In this way you can switch to VS2008 to VS2010 or VS2010 to VS2008.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Learning days (Calendar)

December 2010
M T W T F S S
    Jan »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Knowledge Bank (Archives)

I am on Twitter

Blog Stats

  • 498,754 hits

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 43 other followers

%d bloggers like this: