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

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


--- Comment #11 from Michael Hutchinson <[email protected]> 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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to