小编Bri*_*ain的帖子

在为Outlook 2010构建插件时,FindRibbons任务意外失败

我们正在建设使用VS2013,.NET4,微软异步和BCL便携性(从的NuGet),并遇到类似建立错误一个Outlook插件2010 这个问题这个论坛讨论遗憾的是没有这些资源(或网络的其余部分)的帮助解决我们的问题.

构建错误和Fusion日志位于底部.我的第一个问题:

如何解决此FindRibbons构建任务?从VS目标文件中完全删除它可以完成构建,但代价是没有功能区控件.

我们的第二个症状是Attempting downloadFusion日志的部分.DLL在我们的项目bin\Debug目录下构建,因此其他目录搜索是奇数.这提出了我的第二个问题:

我们忽略的Fusion日志中是否有症状?

最后一个症状来自详细的构建日志,我们在其中看到mscorlib,System.Core和其他几个库之间的冲突.这些依赖项通过Bcl等进入,4.0.0.0与2.0.5.0冲突似乎可以防止构建或生成FileNotFoundException.我们使用绑定重定向等尝试了许多补救措施,但无法使其工作.最后一个问题:

此版本的解决方案或故障排除提示构建冲突?

提前谢谢了.抱歉这个长度.

承诺构建失败:

Error    1    The "FindRibbons" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'myDocketOutlookAddIn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'myDocketOutlookAddIn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Server stack trace: 
    at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
    at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String …
Run Code Online (Sandbox Code Playgroud)

c# msbuild outlook-2010

4
推荐指数
1
解决办法
4404
查看次数

标签 统计

c# ×1

msbuild ×1

outlook-2010 ×1