mscoree: Avoid calling mono_image_open_from_module_handle for libraries.
diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c
index b5ee842..ffc204d 100644
--- a/dlls/mscoree/corruntimehost.c
+++ b/dlls/mscoree/corruntimehost.c
@@ -911,13 +911,9 @@
     {
         host->mono->mono_thread_attach(domain);
 
-        image = host->mono->mono_image_open_from_module_handle(fixup->dll,
-            filenameA, 1, &status);
+        assembly = host->mono->mono_assembly_open(filenameA, &status);
     }
 
-    if (image)
-        assembly = host->mono->mono_assembly_load_from(image, filenameA, &status);
-
     if (assembly)
     {
         int i;