I have not come across a solution for this yet. From what I have researched, this kind of an error usually occurs when there is a version mismatch but the version of LSPDFR it is not able to load is the exact version that I was referencing and the exact version that is loaded. In any case, I found a workaround for my plugin which does not need to reference LSPDFR.