It turns out that I used another overload of the BuildUp method and moved on to fixing my problem in the above example.
I used BuildUp (object) and it did not work. When I switched to BuildUp (Type, object), everything works like a charm!
I'm not sure why, but I can only assume that it has something to do with how the type is allowed in the first overload, and not what happens when the type is explicitly specified.
In any case, this small change fixed all my problems.
Sonofffirate
source share