[Mono-list] Problems with Visual Studio 2005 compiled code

Jonathan Chambers joncham at gmail.com
Thu Aug 30 10:11:20 EDT 2007

     This definitely looks like an issue with running a PE+ executable
(produced if you target the x64 platform). If I try to run a PE+ executable
under mono I get:

Cannot open assembly test.exe.

Mono currently does not support PE+, although it may in the near term as the
consensus is that is shouldn't be too hard to do. I'm guessing both times
you somehow produced a PE+ executable. Try specifically targeting x86 as the
platform and see if you application runs.


On 8/30/07, Paolo Molaro <lupus at ximian.com> wrote:
> On 08/29/07 Eric Morgan wrote:
> > Code compiled from VS2005 does not run under mono.  It says that it
> cannot
> > open the assembly (Main executable).  The same mono version will run
> other
> > apps compiled with our old VS2003.  Is there some configuration option
> I'm
> > missing? What else can I do to troubleshoot it to at least see what's
> wrong?
> >
> > Mono-INFO: Assembly Loader probing location:
> >
> '/home/rengeo/RenegadeGeophysics/SeismicStudioLinux/SeismicStudio1.3.3/SeismicStudio.exe'.
> >
> > Mono-INFO: Unloading image
> >
> /home/rengeo/RenegadeGeophysics/SeismicStudioLinux/SeismicStudio1.3.3/SeismicStudio.exe
> > [0x7826c0].
> > Cannot open assembly
> >
> /home/rengeo/RenegadeGeophysics/SeismicStudioLinux/SeismicStudio1.3.3/SeismicStudio.exe.
> I guess you can't share that app with us? It looks like an issue with
> the loader: it may be over-zealous in some sanity checks it is doing.
> If you can't send the program to me (there is no need to send it to the
> list), you could try to send me just the first 4 or 8 KBs of it: it may
> be possible that would be enough to see what is going on.
> Or if you can get a binary of some other program compiled with VS2005
> that fails to load in the same way, that would work too.
> Thanks!
> lupus
> --
> -----------------------------------------------------------------
> lupus at debian.org                                     debian/rules
> lupus at ximian.com                             Monkeys do it better
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070830/2eef13e8/attachment-0001.html 

More information about the Mono-list mailing list