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

Jonathan Chambers joncham at gmail.com
Thu Aug 30 15:32:41 EDT 2007


Eric,

     Your x64 output was in fact a PE+ executable. However, the Any CPU
target looks like it should have worked. Let us know.

Thanks,
Jonathan

On 8/30/07, Eric Morgan <ehmorgan at gmail.com> wrote:
>
> Here's the dumpbin output for both the ANYCPU and x64.  Now that I look
> back, I think my ANY CPU test was still using the x64 build, so that was
> dumb.  But the x64 build didn't work, so at least that part will be helpful.
>
>
> I have not tried SVN yet, I had to do a full clean re-make of it, so it's
> taking a bit.  I will reply when I test it on whether it works or not.  For
> now, here's the results of my dumpbin (.txt attached)
>
> Thanks again!
>
> Eric Morgan
>
> On 8/30/07, Jonathan Chambers <joncham at gmail.com> wrote:
> >
> > Eric,
> >      Start up a VS cmd prompt. Then run the following on your file (both
> > built for x64 and Any CPU):
> >
> > dumpbin /HEADERS yourfile.exe
> >
> > Send me the output. It will tell us the format of the file.
> >
> > Thanks,
> > Jonathan
> >
> > On 8/30/07, Paolo Molaro < lupus at ximian.com> wrote:
> > >
> > > On 08/30/07 Jonathan Chambers wrote:
> > > >      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.
> > >
> > > I just added support for the PE+ file format in svn, at least the
> > > sample
> > > program that Jonathan kidly provided loads and runs correctly.
> > > So if the original issue was the PE+ file format, it should work now
> > > with mono from svn.
> > >
> > > 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
> > >
> >
> >
> > _______________________________________________
> > 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/3e656c70/attachment.html 


More information about the Mono-list mailing list