[Mono-bugs] [Bug 648700] When compiling, I got Error CS8088: Your .NET Runtime does not support `PE32Plus'. Please use the latest Mono runtime instead. (CS8088)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 26 20:34:20 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=648700

https://bugzilla.novell.com/show_bug.cgi?id=648700#c11


--- Comment #11 from Michael Hutchinson <mhutchinson at novell.com> 2010-10-27 00:34:19 UTC ---
FWIW, here's some background about the arch targeting:

Generally you should target AnyCPU - this the the default for most project
types, and means it will run with the default VM. You should only need to use
explicit architecture targets on .NET if
*  your C# code is actually differs between the architectures - if so you're
probably doing something wrong.
* your C# code depends on P/Invoking native libraries only available on one
architecture.

VS defaults to targetting x86 in new executable projects because
* Windows x64 has both x86 and x64 VMs.
* Most users don't actually need x64, it just wastes memory.
* A lot of old Windows P/Invokes only work on x86.

MD does the same, for compatibility.

Note that Mono doesn't respect the arch flag, it just treats them as AnyCPU and
always runs with the default VM.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list