CS0246:找不到类型或命名空间名称“itextsharp” [英] CS0246: The type or namespace name 'itextsharp' could not be found

查看:506
本文介绍了CS0246:找不到类型或命名空间名称“itextsharp”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好:我收到了上述错误消息,并从各个网站搜索了解决方案。我已将itextsharp.dll库复制到我的C#项目的bin文件夹中,复制到c:\ windows \assembly文件夹,c:\Program Files \ Microsoft.Net\Primary Interop Assemblies文件夹,以及c :\ windows \ microsoft.Net \ Fraworkwork \2.0.50727文件夹。不幸的是,我仍然遇到同样的错误。谁能帮我这个?提前致谢。

Hello: I received the above error message and searched for a solution from various websites. I have copied the itextsharp.dll library into the bin folder of my C# project, into the c:\windows\assembly folder, c:\Program Files\Microsoft.Net\Primary Interop Assemblies folder, and the c:\windows\Microsoft.Net\Framework\2.0.50727 folder. Unfortunately, I am still getting the same error. Can anyone help me with this? Thanks in advance.

推荐答案

下载(itextsharp.dll)文件并将该文件粘贴到您的驱动器中。

Download the (itextsharp.dll) file and paste that file in your drive.

然后打开visualstudio右键单击解决方案资源管理器。点击添加参考

And then open you visualstudio right click on the solution explorer. Click on Add Reference

选择浏览选项,然后单击存储它的文件。它将自动出现在您的bin文件夹中。

select the browse option and and click on the file where it is stored.It will automatically appear in your bin folder.

这篇关于CS0246:找不到类型或命名空间名称“itextsharp”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆