I stated in Chapter 1 that activities created in WF 4.0 are not interchangeable with WF 3.5 activities. However, as promised, I'll now show you how you can execute workflows and activities created in WF 3.5 from within a WF 4.0 workflow. This will allow you to do the following:
Continue to use third-party activities that you cannot port to WF 4.0
Delay porting parts of your solution to WF 4.0
Use 3.0 and 3.5 activities not yet provided in WF 4.0
Start by creating a Workflow Console Application as shown in Figure 19-1. For the project name, enter SampleInterop, and for the solution use Chapter19.
Figure 19-1. Creating a WF 4.0 application
Sequence onto the workflow, drag a ...