我创建了一个全新的VSTO项目.NET 4.5.1(Outlook)并使用教程here设置IlMerge。
失败后,我查看了bin / debug,OutlookAddIn8.dll
就在那里,所以我不确定它是如何找到它的。我是否需要为VSTO项目做些具体的事情?
Error 1 The "FindRibbons" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'OutlookAddIn8, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
or one of its dependencies. The system cannot find the file specified.
File name: 'OutlookAddIn8, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'