Hi,
I am facing exactly same error. Searched many forums but no success. I think Infopath is not able to bind the custom DLL in xsn file. Because when we build a VSTA code associated with Infopath form, it binds all the associated DLLs in managed code with xsn template.
If you have found any solution, please let me know.
Thanks,
Goldy