首页 新闻 会员 周边

The "Message" task was not found.

0
[已解决问题] 解决于 2017-02-10 11:00

项目生成的时候出现这个问题,表示很无奈,也去国外论坛看了,基本上是重启VS和重启电脑就可以解决了,但是在我这就是顽症,怎样都无效,有经历过的大神,帮忙看下!

错误 1 The "Message" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\MSBuild\14.0\bin" directory. WHClientService

 

而且看项目属性是这样的

不如吃茶去的主页 不如吃茶去 | 初学一级 | 园豆:200
提问于:2016-07-08 14:45
< >
分享
最佳答案
0

之前猜到是编译这里出了问题,只可以自己是菜鸟,琢磨好久!

1.先把项目卸载了

2.编辑查看XML文件

3.根据比较发现是编译版本问题哈!根据本地其他项目改这个ToolsVersion

不如吃茶去 | 初学一级 |园豆:200 | 2016-07-08 15:26
其他回答(1)
0

有时间慢慢找疑难杂症还不如重装

风醉 | 园豆:1197 (小虾三级) | 2016-07-08 14:59

有时候慢慢撸代码还不如去买水果!

支持(0) 反对(0) 不如吃茶去 | 园豆:200 (初学一级) | 2016-07-08 15:14

@不如吃茶去: 没看清楚,以为你编译器出问题了

支持(0) 反对(0) 风醉 | 园豆:1197 (小虾三级) | 2016-07-08 16:14
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册