I have created a workflow using .net framework 4.0 in visual studio 2010. Everything is fine except the one below compilation error. I am not sure what is the reason.
Unrecognized tag 'x:Members' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'
By default the build action of the workflow file will be pointing to Page. Right click on the Workflow file and go to Properties. Then, change that build action value from Page to "XamlAppDef" to fix this issue.