SharpDevelop错误:“无法识别工具版本'12 .0'..." [英] SharpDevelop error: "The tools version '12.0' is unrecognized..."

查看:413
本文介绍了SharpDevelop错误:“无法识别工具版本'12 .0'..."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近几个月,我一直在使用SharpDevelop开发使用Excel-DNA的vb.net项目,突然之间,当我像往常一样打开项目时,出现了以下错误:

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:

无法识别工具版本"12.0".可用的工具版本为"2.0","3.5","4.0". C:\ path \ to \ file.vbproj

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

我正在为这部分伪造代码: <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">.就我在水银历史上所能获得的价值而言,它一直具有这种价值.

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.

任何可能导致此问题的想法?我已经安装了Visual Studio进行测试,看看是否值得投资,并最近将其卸载了,这可能与它有关吗?

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?

推荐答案

看起来像支持ToolsVersion 12.0所需的MSBuild .target文件已与Visual Studio一起卸载.

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

但是,它们也可以独立下载: Microsoft Build Tools 2013

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

这篇关于SharpDevelop错误:“无法识别工具版本'12 .0'..."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆