Visual Studio 2010 provides a very useful method to help us to package the SharePoint 2010 artifacts and features as package and allow us to hit F5 to debug our code. All is well but sometimes you felt you do not have full control over how the feature is attributed and how the package is assembled.
I created a workflow with association form and I could not get the InfoPath form registered and it took quite a while for me to figure it out so I’d like to share some points here so this might benefit someone who is struggling with the same issue.
Step 1. Create a InfoPath form to be used as association form
Step 2. Create your workflow project
Step 3. Add InfoPath form into project
Step 4. Reading Association form data inside code