System.drawing.common runtime dependency in Util.CreateXhtmlWriter ?
I've been playing around with
Util.CreateXhtmlWriterso I can
Dump from other processes back to the Linqpad GUI.
Whilst I have it working, I notice the non linqpad host process which creates and uses the XhtmlWriter will throw an exception saying it cant find
System.Drawing.Common assembly, if it is not specifically referenced.
If I include that nuget package in the host process build then the error disappears.
Linqpad.Runtime nuget does not specify that
System.Drawing.Common is a dependency, nor does the compiler complain on build. I suspect it is a runtime dynamic invocation ?
Is it possible to remove this dependency ?