Workflow 4.0 Error Argument

I have two errors with the workflow, I think caused by a compilation error with VS2010, its

Error 1 Could not resolve attached item {clr-namespace:;} Flowchart1.requestType C: \ Documents and Settings \ Hilliard \ my documents \ visual studio 10 \ Projects \ WorkflowConsoleApplication1 \ WorkflowConsoleApplication1 \ Flowchart1.xaml WorkflowConsoleApplication1

This error usually disappears after two builds in a row. I don't know if another error related to it occurs as soon as the workflow is executed in the Partial Class in the new

"Unable to set unknown Member 'requestType'. Line: 3 Offset: 4".

Anyone have a hint if I am doing something wrong? I just want to pass two parameters to my workflow and use them throughout my workflow. Currently, the workflow is not even loaded as they define in the workflow.

0


a source to share


2 answers


It's hard to tell this information from your description, I think you really need to add more details: How do you declare requestType? How do you pass arguments to your workflow? -What XAML are you getting compilation error?



You can also try asking your question on the MS forum for WF 4.0 Beta1 ... http://social.msdn.microsoft.com/Forums/en-US/wfprerelease/threads

+1


a source


because you have "{clr-namespace :;}" in your error message, I suspect you are referencing some class in your current assembly (say a custom action or a type from your assembly assembly).



if so, then just keep splitting the assembly and moving your custom actions and / or types (referenced by your workflow instance) to the new one.

0


a source







All Articles