We are discussing lingering issues with the TPSDK. One of these include the god-awful use of reflection to access the internals of the host tooling to determine the list of referenced assemblies in the target assembly context. It is a great crime that was committed "for reasons"
Those reasons were fixed in 2016 with dotnet/fsharp#1037
(OK, this hack was added because we were on a time-critical delivery for cross-targeting type providers and there was no way we could push through an update to FSharp.Core and the F# compiler tooling to report this information correctly)
We should remove/deprecate this hack by making an improvement to the F# compiler to report this information to the type provider.
The issue in VF# was