Click here to Skip to main content
15,883,705 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created sub domain and it was working properly.. when i copied every files in to a sub folder then it is not working..

it shows this error

CS0246: The type or namespace name 'iTextSharp' could not be found (are you missing a using directive or an assembly reference?)

What I have tried:

I added the itextsharp referencence version 5.5.5.0... from bin folder
Posted
Updated 18-Apr-17 22:05pm
v3

1 solution

you need to give assembly reference for iTextSharp.dll

Please check if reference already provided then the path should be correct

formore info

How to: Add or Remove References By Using the Add Reference Dialog Box[^]
 
Share this answer
 
v2
Comments
Rashad Hameed 17-Apr-17 2:08am    
Can u tell me where can i see is this path located..
Nirav Prabtani 17-Apr-17 2:11am    
Expand reference tab and right click on reference and go to properties, There will be a path
Rashad Hameed 17-Apr-17 2:22am    
no reference tab .. only bin folder is showing these reference
Nirav Prabtani 17-Apr-17 2:47am    
Click on Show files option in solution explorer and then You will find references
Rashad Hameed 17-Apr-17 2:57am    
i already added reference to my project it is working in sub domain .. then created a sub folder i copied every files to that folder ..
then
Line 19: using iTextSharp.text;

it shows error

Compiler Error Message: CS0246: The type or namespace name 'iTextSharp' could not be found (are you missing a using directive or an assembly reference?)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900