I'm new in Infopath developing, please help. :( So I'm developing work-flow with custom task edit form. I designed infopath form CustomApprovalForm.xsn in Infopath Designer 2010 and then I published this form to Workflow project in Module folder which named Form(ApproveWF/Form/). Then I configured all needed properties for correct deploying. After deploying all works ok and form appears as it should be. But when I come back to Infopath designer 2010 and add some formcode to CustomApproval.xsn and then I press quick publish to Module folder which I use above and then I deploy the workflow to SP server. After this the form doesn't appear. In logs I saw exception: "Solution deserialization failed with unhandled exception System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Features\ApproveWF_Feature1\CustomApprovalForm.dll' or one of its dependencies. The system cannot find the file specified...."
I suppose, that I'm not correct making publishing infopath form with code behind. How to correct do publishing infopath 2010 form with code behind to my ApproveWF project which then deploy to SP server? Where should I place the CustomApproval.dll?
Please help me!!!!