I am trying to learn WF4 so i downloaded the following example:
I am working with the Purchase Process c# example. I created an app based on this work flow and tried running it. As soon as i try to make a call to WorkflowApplication.Run() I get a long list of exceptions. I went to Debug->Exceptions and checked off Common languages Runtime Exceptions so I would be able to see where the error is.
The exception that came up is "Could not load file or assembly 'System' or one of its dependencies. The system cannot find the file specified."
I didn't receive this error when looking at the Purchase Process example until i noticed their was a WinForm Client. So i switched the start up from the Web client to Win Form client and started to receive the same types of errors when WorkflowApplication.Run() is called.
"Could not load file or assembly 'System.Activities' or one of its dependencies. The system cannot find the file specified"