FindRibbons task failed unexpectedly when building addin for Outlook 2010

前端 未结 3 1607
小鲜肉
小鲜肉 2021-01-13 20:08

We\'re building an Outlook 2010 plugin using VS2013, .NET4, Microsoft Async and BCL Portability (from Nuget) and encountering build errors similar to this question and this

相关标签:
3条回答
  • 2021-01-13 20:33

    I had the same issue when upgrading my Visual Studio 2010 VSTO projects to Visual Studio 2013. The way I fix the issue was with a combination of two things:

    First I removed the reference to the assembly attribute SecurityTransparent from my AssemblyInfo.vb

    <Assembly: SecurityTransparent()>
    

    Second I set Copy Local = true on the Microsoft.Office.Tools.Common.v4.0.Utilities reference.

    0 讨论(0)
  • 2021-01-13 20:48

    I was able to fix this error by adding explicit assembly version references in my .csproj. See https://stackoverflow.com/a/29095545/4679952 for details.

    0 讨论(0)
  • 2021-01-13 20:52

    You need to remove the SecurityTransparent attribute from the end of the AssemblyInfo.cs file.

    0 讨论(0)
提交回复
热议问题