In VS2008, how do I reference a dll that I know is valid but throws an error when added?

I have inherited a project from the powers that be, and, when first loading it up in VS 2008, I get an error right off the bat.

"A reference to XXX.dll could not be added.  Please make sure that the file is accessible, and that the assembly is a valid assembly or COM component."

The DLL is valid.  I've used it numerous times in many different applications and services, but I did my due dilligence and removed the reference, put a copy of the DLL i've used personally in its place and STILL get the error.

What can this mean?
LVL 1
RichardRigaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

käµfm³d 👽Commented:
Is it a "resource only" DLL?
0
MedievalWarriorCommented:
If your refering about an unmanaged COM DLL then register the library and then try adding it as a reference.
0
AndyAinscowFreelance programmer / ConsultantCommented:
Check the paths of the references for the project.  The dll might well be OK, just not in the directory the project is expecting it to be in.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RichardRigaAuthor Commented:
thank you
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.