Devenv lets you set various options for the integrated development environment (IDE), and also build, debug, and deploy projects, from the command line.
However build related tasks, it is recommended to use Msbuild tasks
I use devenv command to start the VS IDE. While using this command from Run window, if multiple instance of Visual studio IDE s are installed on the machine, sometimes it opens the older version.
As an example, on my machine I have both VS2005 and 2008 installed. When I run “devenv” on the run command, it opens VS2005 IDE.
To open VS 2008, what I did,
- Open the registry editor – type regedit on the Run window
- Navigate to the path : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\devenv.exe
- Currently it is configured to open VS 2005. Update the registry key Default, to switch the mapping from VS 2005 to 2008
Old Default key value: $\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe
New Default key value: $\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe
No comments:
Post a Comment