Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 661
gersh Avatar asked Dec 10 '22 17:12

gersh


2 Answers

I had successfully uninstalled VS 2015 and got that error. Only deleting 14.0 key in HKEY_LOCAL_MACHINE/Software/Wow6432node/Microsoft helped.

like image 122
Nick Avatar answered Mar 29 '23 13:03

Nick


To be precise : Delete following registries HKLM/Software/Microsoft/Msbuild/ToolVersions/14.0 HKLM/Software/Wow6432node/Microsoft/Msbuild/ToolVersions/14.0

like image 21
user6558769 Avatar answered Mar 29 '23 12:03

user6558769