I have tried all the suggestions below but still no joy.
I'm now trying a console application, and let me explain exactly what I'm doing.
- I create a new console project in VS 2010
- I add a number of references (dll's) some that aren't mine such as Castle.Winsor and N2 CMS dlls
- in the console app I can add using statements indicating I am using name spaces within the referenced DLLs
- I start writing code.
- As soon as I compile all the code that uses the referenced DLLs immediately complains with "The type or namespace name '' could not be found (are you missing a using directive or an assembly reference?)"
I have tried setting the dlls to copy to local always, I have copied the DLL into the same directory, I have tried added reference by project and adding a reference to the DLL's themselves
I don't get this problem with a web application project or a ASP.net project they always work fine, only something that is compiled to an EXE like a console app or windows service.
there must be something I'm missing or I would have got this working by now.