小编Eli*_*eth的帖子

使用VS 2010和FindRibbons构建错误

我有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.
Run Code Online (Sandbox Code Playgroud)

我找到了几个提到的帖子

C:\ Program Files(x86)\ MSBuild\Microsoft\VisualStudio\v10.0\OfficeTools

,打开Microsoft.VisualStudio.Tools.Office.targets并将所有10.0.0.0替换为我做过的12.0.0.0

但后来出现了以下错误

The "FindRibbons" task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name.
Run Code Online (Sandbox Code Playgroud)

build visual-studio-2010

5
推荐指数
1
解决办法
713
查看次数

标签 统计

build ×1

visual-studio-2010 ×1