One thing worth a special mention is that any reference assemblies that were picked by the user will be added as reference assemblies to the compiler, to allow the code generator to compile successfully using property types the user may have added from referenced assemblies.