How do I change the default toolspath for Visual Studio 2008?

visual-studio-2008, visual-studio-2010

Solution

I realized I had to delete the registry key under HKLM/Software/Wow6432node/Microsoft.

Problem

I had Visual Studio 2010 beta 1 installed, and I removed. Now, when I try to crate a project in Visual Studio 2008. I get the error "MSBUildToolsPath is not specified for the ToolsVersion "4.0" defined at "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\TOolsVersions\4.0", or the value specified evaluates to the empty string". How do I change the ToolsVersion to "3.5", so it works?

Original source