标题: 怎么解决Excel.ApplicationClass' cannot be embedded问题? [打印本页] 作者: 风火石 时间: 2016-11-23 14:59 标题: 怎么解决Excel.ApplicationClass' cannot be embedded问题? 当升级VS2008到VS2010时出现Interop type 'Microsoft.Office.Interop.Excel.ApplicationClass' cannot be embedded. Use the applicable interface instead问题
解决方案:打开相关调用 的DLL然后,the Properties tab for the assembly in Visual Studio 2010 and set "Embed Interop Types" to "False