ILMergeAllowZeroPeKind Property | MSBuild Extension Pack Help 4.0.12.0 |
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: MSBuild.ExtensionPack.Framework
Assembly: MSBuild.ExtensionPack (in MSBuild.ExtensionPack.dll) Version: 4.0.0.0
See Also