The codegen is now capable of generating a working mscorlib binding.
The config file mscorlib.codegen.config.objc.xml
is used to control the binding process, allowing the binding to skip nominated types in order to reduce size and complexity.
Next up we want to autogen the System assembly.
This raises a couple of issues:
-
We may wish to limit the type binding for System.dll so we can define a
System.codegen.config.objc.xml
to assist with this. However, because System.dll depends on mscorlib (as all assemblies do), and therfore may utilise any of its types in member signatures, it must also honour the type skipping defined inmscorlib.codegen.config.objc.xml
. This type skipping chaining also applies to all other referenced assemblies. -
System.dll references System.Xml.dll and System.Xml.dll references System.dll, which does seem odd though it is the case. Resolving this in the native libraries may require a bit of tinkering or may fail(!) - we shall see.