Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <llsan@microsoft.com>2021-05-14 10:37:10 +0300
committerLluis Sanchez <llsan@microsoft.com>2021-05-14 10:39:32 +0300
commit240bebabefa8c9403e3c0a25e15ed62b97a239be (patch)
tree18b07a6a9d437cfd9015599471881ab05505e5e3
parent6c82fe6da104efc6305ebdcf09f717c8247974d5 (diff)
-rw-r--r--Xwt.XamMac/Xwt.Mac/NSApplicationInitializer.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/Xwt.XamMac/Xwt.Mac/NSApplicationInitializer.cs b/Xwt.XamMac/Xwt.Mac/NSApplicationInitializer.cs
index 1a8091c7..b29ff279 100644
--- a/Xwt.XamMac/Xwt.Mac/NSApplicationInitializer.cs
+++ b/Xwt.XamMac/Xwt.Mac/NSApplicationInitializer.cs
@@ -66,7 +66,16 @@ namespace Xwt.Mac
private static void CurrentDomain_AssemblyLoad (object sender, AssemblyLoadEventArgs args)
{
- Runtime.RegisterAssembly(args.LoadedAssembly);
+ try
+ {
+ Runtime.RegisterAssembly(args.LoadedAssembly);
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("ASM: " + args?.LoadedAssembly);
+ Console.WriteLine(ex);
+ throw;
+ }
}
}
}