I know that you can wrap problematic code in a try/catch block to prevent an error from taking out your webpart. But what can you do for missing references/dlls? Is there anyway of catching those errors before they blow up your SharePoint page?
A:
Yes, catch the FileNotFoundException.
The text of the error will be Could not load file or assembly.
Alex Angas
2009-10-06 09:12:43