Hi,
I'd like to do the following:
My main application is a .exe, that uses a .dll included as a
reference in the project.
I'd like to know if it's possible for the .exe to physically test the
presence of the .dll in its directory (i.e. theFile.exists) .
So far, instructions to that extent have failed, because the Framework
throws an exception before any code is executed.
So, can I include such a check in the .exe, or do I have to catch the
exception first thing? I don't think that would work, since as I've
said the Framework crashes before, apparently, any code is executed in
the .exe
Thanks for any answer.
I'd like to do the following:
My main application is a .exe, that uses a .dll included as a
reference in the project.
I'd like to know if it's possible for the .exe to physically test the
presence of the .dll in its directory (i.e. theFile.exists) .
So far, instructions to that extent have failed, because the Framework
throws an exception before any code is executed.
So, can I include such a check in the .exe, or do I have to catch the
exception first thing? I don't think that would work, since as I've
said the Framework crashes before, apparently, any code is executed in
the .exe
Thanks for any answer.
Comment