[Mono-dev] Linux: can I access a .NET 4.0 DLL from regular DLL running an EXE under Wine?

qd01a qd01a at yourika.com
Sat Nov 2 00:06:11 UTC 2013

I have a feeling the answer will be no, but just in case, here is my

I have a standard Windows EXE file that runs fine under Wine on Linux /
Ubuntu 12.10.  It won't run directly under Mono because it is not a .NET /
CIL file.

The executable file calls a standard Windows DLL, which in turn accesses a
.NET 4.0 DLL.  At the point that this .NET 4.0 DLL is first accessed, the
app will crash (obviously, since Wine doesn't know of .NET).

Is there any way that I can 1) either make Wine familiar with how to access
the .NET / Mono DLL, or 2) make mono execute a standard Windows EXE and
somehow automagically know what to do when the .NET DLL is loaded.  

I did try Wine's regsvr32 to register the .NET DLLs, but as I expected it
failed.  What I really need is the Mono / Wine / Linux equivalent of
regasm.exe (that's how these .NET 4.0 DLLs are registered on Windows).

Appreciate any thoughts or ideas on solving this (if it's even possible). 

View this message in context: http://mono.1490590.n4.nabble.com/Linux-can-I-access-a-NET-4-0-DLL-from-regular-DLL-running-an-EXE-under-Wine-tp4661230.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list