AllowZeroPeKind Property

TFS Build Extensions

Collapse imageExpand ImageCopy imageCopyHover image
When this is set before calling Merge, then if an assembly's PeKind flag (this is the value of the field listed as .corflags in the Manifest) is zero it will be treated as if it was ILonly.

This can be used to allow C++ assemblies to be merged; it does not appear that the C++ compiler writes the value as ILonly.

However, if such an assembly has any non-IL features, then they will probably not be copied over into the target assembly correctly.

So please use this option with caution.

Command line option: /zeroPeKind

Default: false

Namespace: TfsBuildExtensions.Activities.Framework
Assembly: TfsBuildExtensions.Activities.ILMerge (in TfsBuildExtensions.Activities.ILMerge.dll) Version: 1.0.0.0 (1.0.0.6)

See Also