LeighWardle
asked on
VB.Net Project - how to gracefully handle errors resulting from missing DLLs
Hi Experts,
I'm running VS2013 Ultimate.
From time to time I have customers that run the .exe file from a folder that does not have the required DLLs in it.
This throws an unhandled error something like:
I assume I would need to code a list of the required DLLs because ystem.IO.FileNotFoundExcep tion errors could be triggered by other file types.
Regards,
Leigh
I'm running VS2013 Ultimate.
From time to time I have customers that run the .exe file from a folder that does not have the required DLLs in it.
This throws an unhandled error something like:
System.IO.FileNotFoundException: Could not load file or assembly 'Skybound.VisualTips, Version=1.0.2.0, Culture=neutral, PublicKeyToken=f2d73a45b3e75a83' or one of its dependencies. The system cannot find the file specified.
How can I handle these errors gracefully - so I can give my user an informative message?I assume I would need to code a list of the required DLLs because ystem.IO.FileNotFoundExcep
Regards,
Leigh
How do you distribute your program?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, James, your article is very helpful.
Regards,
Leigh
Regards,
Leigh