当我尝试使用命令提示符构建项目时,我是MSbuild的新手我得到了以下错误
错误MSB4036:“MSBuild.ExtensionPack.Xml.XmlFile”任务不是 找到。请检查以下内容:
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:\Windows\Microsoft.NET\Framework\v4.0.30319" directory.
答案 0 :(得分:0)
As seeing your Error it clearly points out that your are using .net Framework version 4.0.30319 therefore You can't run .NET 4.0 assemblies with the 3.5 version of the .NET tools.
A detailed discussion can be found here :