Wf workflow class not recognized when creating Workflow application instance

0 votes
asked Jul 8, 2013 in Workflow Foundation by anonymous

We are working on the Workflow foundation to create some business workflow for our organization. When we created workflow and build it, we got a compilation error saying Unrecognized tag 'x:Members' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml'.

So we changed the build action from "Page" to "Content". Now the compilation error has been resolved, but we got an another issue.

We tried to create the workflow instance using the WorflowApplication class. When we try to accessing the workflow class, it is not recognized in the editor and getting compilation error

"The type or namespace name 'SoftwareRequestWorkflow' could not be found (are you missing a using directive or an assembly reference?)"

We are using .net framework 4.0 in visual studio 2010.

Share

1 Answer

+1 vote
answered Jul 8, 2013 by Aadhira (1,213 points)
selected Jul 9, 2013 by administrator
 
Best answer

Right click on the Workflow file and go to Properties. Then, change that build action value from "Content" to "XamlAppDef". Your issue will be resolved.

Your answer

Preview

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
site design / logo / content © 2013 - 2015 pinfaq.com
...