I have added one reference "ABC.xyz.dll" to my project in visual studio. But i am not able to use it in my class file. like "Using ABC.xyz." It gives me error "The type or namespace name "ABC" could not be found(are you missing a using directive or an assembly reference)". Any help or suggestion?
Asked
Active
Viewed 84 times
0
-
Are you sure that's the actual namespace name? It might not always be the same as the DLL name – shree.pat18 May 15 '14 at 05:47
-
try close Visual studio then clean + build + rebuild..works sometime – Neel May 15 '14 at 05:51
-
@Neel Tried that. but still same. – Ankit May 15 '14 at 05:53
-
@shree.pat18 That is exactly what code in class file with that DLL contains. "ABC.xyz". And I checked. Its the same namespace. – Ankit May 15 '14 at 05:54
-
1Could also be a Client Profile issue. Tkae a look at this: http://stackoverflow.com/questions/4764978/the-type-or-namespace-name-could-not-be-found – shree.pat18 May 15 '14 at 05:59