print all loader exceptions
This commit is contained in:
parent
45c2cd9979
commit
3f4d0d9c53
@ -85,7 +85,11 @@ namespace MBS.Framework
|
||||
catch (ReflectionTypeLoadException ex)
|
||||
{
|
||||
Console.Error.WriteLine("ReflectionTypeLoadException(" + ex.LoaderExceptions.Length.ToString() + "): " + asm.FullName);
|
||||
Console.Error.WriteLine(ex.Message);
|
||||
for (int i = 0; i < ex.LoaderExceptions.Length; i++)
|
||||
{
|
||||
Console.Error.WriteLine("\t" + ex.LoaderExceptions[i].Message);
|
||||
Console.Error.WriteLine();
|
||||
}
|
||||
|
||||
types1 = ex.Types;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user