怎么解决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

posted on 2012-11-05 19:41  wyh0801  阅读(221)  评论(0编辑  收藏  举报

导航