环境: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.youkuaiyun.com/dragoo1/article/details/52278242
本文记录了解决在VS2010中编译C#项目时遇到的FindRibbons任务加载失败的问题。通过安装Visual Studio 2010 Service Pack 1成功解决了该问题。
1万+

被折叠的 条评论
为什么被折叠?



