Click here to Skip to main content
15,891,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

If i browse the dll and add reference to my project the build is successful.
But if i add the dll through project reference like Reference -> Add Reference -> Projects; i am getting build error, "Namespace not found for some classes".

Also if i add project reference and shift(copy paste) my entire solution to some other path in the hard disk then also build is successful. Only in that particular path with adding project reference is not building.

What is the reason for this? Dll is not in GAC
How do i make solution build successful by adding project reference instead of browsing and adding dll.

Thanks,
Posted
Comments
Albert Holguin 11-Oct-13 0:18am    
C? C++? ...the compiler doesn't even use a dll, so not sure what you mean (linker uses it, compiler just has to know the calls are external, there's nothing to compile).

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