This article discusses creating Visual Studio workflow with custom task forms, created in InfoPath: http://www.codeproject.com/Articles/195348/SharePoint-2010-State-Machine-Workflows-with-Custo
I've build a test workflow, following all instructions of the article, but I get this error message when trying to open the task form (that was created by InfoPath): "The specified form cannot be found.".
Do you have any idea, about what should be checked?
And secondary question: when I publish InfoPath form, does it matter where I publish it to? Can it be any location? Do I have to re-add it to Visual Studio (as Add Existing Item to Module) after every publish? Or can I just add it once to Visual Studio and later publish directly to the folder where it copied form, inside VS project folder (Projects/Project Name/Workflow/Forms/form.xsn)? What is best practice?
I will appreciate answers on how this publishing works, and hopefully some hints about why form is not being opened (not found, according to error message)? Thank you.