如何修复错误无法找到类型或命名空间名称“Characters”(您是否缺少using指令或程序集引用?)? [英] How to fix error The type or namespace name 'Characters' could not be found (are you missing a using directive or an assembly reference?)?
本文介绍了如何修复错误无法找到类型或命名空间名称“Characters”(您是否缺少using指令或程序集引用?)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何修复错误:
无法找到类型或命名空间名称'Characters'(您是否缺少using指令或程序集引用?)?
字符的名称空间是什么?
解决方案
在我的情况下我必须在下面添加
Microsoft .Office.Interop.Excel
或Microsoft.Office.Interop.Excel.charactres
检查此链接:
http://support2.microsoft.com/kb/304656 [ ^ ]
引用:希望帮助
希望您指的是代码中应该引用的外部Dll
How to fix error:
The type or namespace name 'Characters' could not be found (are you missing a using directive or an assembly reference?)?
What is the name space for Characters?
解决方案
In my case i had to add below
Microsoft.Office.Interop.Excel
or Microsoft.Office.Interop.Excel.charactres
Check this link :
http://support2.microsoft.com/kb/304656[^]
Quote:hopefully help
Hope you are referring to the External Dll which should be referenced in your code.
这篇关于如何修复错误无法找到类型或命名空间名称“Characters”(您是否缺少using指令或程序集引用?)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文