.net - "Message"任务未找到

标签 .net msbuild

突然,当我今天通过 Visual Studio 2008 解决方案打开并尝试重建所有内容时,出现以下错误:

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 in the project file, or in the *.tasks files located in the "D:\WINDOWS\Microsoft.NET\Framework\v3.5" directory



我什么都不明白。你能指导一下吗。

最佳答案

我重新启动了计算机,错误消失了:)

更新:

根据以下评论(感谢@Thomas 和@Vikram),重新启动 Visual Studio 似乎也解决了该问题。

关于.net - "Message"任务未找到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5273968/

相关文章:

msbuild - CSPROJ 文件中的表达式语法引用

c# - 在 .NET 中使用正则表达式从字符串中提取标记

c# - 使用 Graphics.DrawImage() 绘制带透明度/Alpha channel 的图像

asp.net - 将不同的用户重定向到另一个 URL

msbuild - 在msbuild中使用32位 "Program Files"目录

.net - MSBuild - 如何从预先编写的命令行命令构建 .NET 解决方案文件(在 XML 任务脚本中)

c# - SGEN : An attempt was made to load an assembly with an incorrect format

.net - 如何使用其他租户的 Azure AD 应用程序?

.net - ASP.NET 应用程序的国际化库

c# - 使用 C# 7.1 构建 .NET Core 2.0 EXE 文件