ilgen iltarget(x86) ilref(MicroFocus.COBOL.XmlExtensions) ilref(MicroFocus.COBOL.XmlExtensions.Interop)
To compile 64-bit change iltarget(x86) above to iltarget(x64). To compile a called subprogram change ilgen above to ilgen(sub); that will produce a DLL rather than an EXE.