A five-finger exercise in CodeDOM using the "Hello World" example from F# -- more interesting stuff to follow later:
which yields up
which isn't StyleCop compliant, but is otherwise well formatted; and
which is a little idiosyncratic; the GUID-named types seem to be there in case of need from some construct that is not actually used in this simple example.
Now it just comes down to assembling to code object graph for something practical.