Cannot open vs2008 project after uninstalling vs2015

I have installed Visual Studio 2008 and 2012. Recently, I also installed Visual Studio 2015, but later uninstalled it. Now I cannot open the project of my compact frame in Visual Studio 2008.

Unable to read project file 'Projectname.vbproj'. MSbuildToolsPath is not specified for ToolsVersion "14.0" defined in "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ MSBuild \ ToolsVersions \ 14", or the specified value is evaluated with an empty string.

+6
source share
2 answers

As described in this link :

  • Make sure that Visual Studio 2010 is completely uninstalled (go to "Control Panel → Programs → Programs and Features" and make sure that it is not listed)
  • Verify that the following registry keys do not exist on the machine: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ MSBuild \ 4.0 HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ MSBuild \ ToolsVersion \ 4.0

Note: If you are working with a 64-bit OS, you will need to remove them from the 32-bit part of the registry. To do this, click "Start Menu ->" Run ... "and enter the following command:

% WINDIR% \ SysWOW64 \ regedit.exe

However, in my case, I replaced "4.0" with "14.0" and it worked.

+7
source

Just download and install MSBuild Tools for VS 2015 at the following link https://www.microsoft.com/en-us/download/confirmation.aspx?id=48159 this will fix the problem.

+2
source

All Articles