error MSB4062: The "FindRibbons" task could not be loaded from the assembly

环境:vs2010

问题:编译一c#工程,报错

error MSB4062: 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.

google了一下,说是安装vs2010 sp1就好了,对比了一下同事的,我还真没装sp1,接着装了sp1,搞定

参考:http://stackoverflow.com/questions/16376771/build-error-creating-vsto-addin-for-excel-2010

ps:如果装sp1的时候卡在KB983509处,可参考http://blog.csdn.net/dragoo1/article/details/52278242


版权声明:本文为dragoo1原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。