How to create custom dll not found message

  • Thread starter Thread starter dabby
  • Start date Start date
D

dabby

Hi!

I'm a student learning C#. I'm using Visual Studio Net.

How can I create a custom "dll not found" message, listing
the missing dlls?

I've tried to catch the exception the first time I use
a static method from the dll, but it's obviously
not working.

Even with the try-catch at the start the exe throws the
System.IO.FileNotFound.Exception.

Any help is appreciated.

Thanks.
Dabby
 
I think the best bet is to disable the UI features (or functional features)
that use things from the missing dlls by doing a directory search on startup
and setting the appropriate flags. That seems like a much safer method to
me, but maybe it doesn't suit your application.

Chris
 
Back
Top