What should happen when a reference is deleted?
Posted
by Apeksha
on Stack Overflow
See other posts from Stack Overflow
or by Apeksha
Published on 2010-03-12T17:00:25Z
Indexed on
2010/03/12
17:07 UTC
Read the original article
Hit count: 213
I have a vb.net 3.5 application which references a dll (abc.dll, also in .net 3.5) This dll is accessed by the application from time to time. If at anytime during execution, if I delete the dll, I expect the application to throw an error the next time it tries to use a class from the dll. But, this is not the behaviour I see. If I delete the dll before startup, the application throws an error at startup. But not when the dll is deleted after startup.
Is this the standard behaviour, or am I doing something wrong? Can I get the app to throw an error if the dll is not found when it tries to use its classes?
Thanks in advance.
© Stack Overflow or respective owner