Sue B.
Sue B.

Reputation: 19

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

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.

Upvotes: 1

Views: 11792

Answers (1)

Viraj b
Viraj b

Reputation: 39

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.

Upvotes: 2

Related Questions