CS0246: The type or namespace name 'itextsharp' could not be found

好久不见. 提交于 2019-12-11 04:42:12

问题


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.


回答1:


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

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

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



来源:https://stackoverflow.com/questions/17933553/cs0246-the-type-or-namespace-name-itextsharp-could-not-be-found

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!