SharpDevelop error: "The tools version '12.0' is unrecognized..."

No_or_yes picture No_or_yes · Feb 25, 2014 · Viewed 14.9k times · Source

I've been developing a vb.net project using Excel-DNA for the last few months using SharpDevelop and all of a sudden, when I open my project as usual, I have this error:

The tools version "12.0" is unrecognized. Available tools versions are "2.0", "3.5", "4.0". C:\path\to\file.vbproj

I'm gessing the falty codes is this part: <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">. As far as I can go in my Mercurial history it has always had this value.

Any idea of what could have created the problem? I had installed Visual Studio to test it out and see if the investement was worth it and uninstalled it lately, could it have something to do with that?

Answer

Daniel picture Daniel · Feb 25, 2014

Looks like the MSBuild .target files necessary to support ToolsVersion 12.0 were uninstalled together with Visual Studio.

However, they are also available as a standalone download: Microsoft Build Tools 2013