dependency problem

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

Hi,
I get the runtime msg:
File or assembly name xxx, or one of its dependencies, was not found.

It occurs before I can debug the sub in which I create the instance. The
appl starts fine and when hitting a button it happens.

It concerns a dll that worked, then I changed a few things (removing some
parameters) and I got this error. I refer to the original directory (copy
local = false). I used the forms and classes in the dll directly in a
testproject and I don't get compilation errors and it runs fine.
How do I go about in finding the problem? In the exception handler there is
no info, just the msg, also no innerexception.

Thanks for your help.
Frank
 
Aha, I found something myself. I removed the reference to the dll. Saved the
project and added the reference again. And the error was gone!?!?!?
Is there some refresh is should execute in the calling program after
changing the dll?

Frank
 
try doing a Rebuild Solution instead of rebuild project, that sometimes
helps. ( if you were doing this anyway, just ignore my post ).

VS sometimes looses track, especially with larger more complex solutions.

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
Back
Top