Sometimes Assembly.GetTypes() can fail for random reasons. Just eat such exceptions and go on to the next Assembly.