How to change the default path for Visual Studio 2008?

I had the beta version of Visual Studio 2010 installed and I left. Now, when I try to create a project in Visual Studio 2008., I get an error: "MSBUildToolsPath is not specified for ToolsVersion" 4.0 ", defined in" HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ MSBuild \ TOolsVersions \ 4.0 ", or the specified value evaluates to blank line. " How do I change ToolsVersion to "3.5" so it works?

+4
source share
4 answers

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

+3
source

I successfully uninstalled VS 2015 and got this error. It only helped to remove the key 14.0 in HKEY_LOCAL_MACHINE/Software/Wow6432node/Microsoft .

+6
source

To be precise: Delete the following registries HKLM / Software / Microsoft / MSBuild / ToolVersions / 14.0 HKLM / Software / WOW6432Node / Microsoft / MSBuild / ToolVersions / 14.0

+4
source

Make sure that the following registry keys do not exist in the machine: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ MSBuild \ 4.0 HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ MSBuild \ ToolsVersion \ 4.0

+1
source

Source: https://habr.com/ru/post/1299582/


All Articles