我有VS 2010、2012和2013。我从svn获得了一个现有的项目,因此它以前从未在我的机器上出现过。当我尝试编译时,出现了以下错误。
我发现有几篇帖子提到要前往
The "FindRibbons" task could not be loaded from the assembly
'Microsoft.VisualStudio.Tools.Office.BuildTasks,
Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Confirm that the
<UsingTask> declaration is correct, that the assembly and all its dependencies are
available, and that the task contains a public class that implements
Microsoft.Build.Framework.ITask.
我发现有几篇帖子提到要前往
打开 Microsoft.VisualStudio.Tools.Office.targets 文件并将所有 10.0.0.0 替换为 12.0.0.0,我已经完成了这一步,但随后出现了以下错误。C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\OfficeTools
The "FindRibbons" task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name.