Monday, August 24, 2009

Finding Assembly Target Environment

Using CorFlags.exe a managed or mixed (both managed and unmanaged) assembly together with target environment can be obtained.

Environment:
anycpu: PE = PE32 and 32BIT = 0
x86: PE = PE32 and 32BIT = 1
64-bit: PE = PE32+ and 32BIT = 0

Managed on top of the above you could use
ILONLY : 1

UnManaged
ILONLY : 0

Coreflags.exe can be opened from visual studio command prompt or if you have the framework SDK SDK Location\Bin folder

Happy Programming,
Anton

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home