SharpDevelop error: “The tools version '12.0' is unrecognized…”

谁说胖子不能爱 提交于 2019-12-08 17:15:22

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/22015916/sharpdevelop-error-the-tools-version-12-0-is-unrecognized

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!