workflow compilation

While compiling a workflow dynamically using workflow compiler class , it throws an error that workflow ProjectWorkflow.xoml(9,137) : error CS0117: does not contain a definition for 'ApprovedEvent'

where Approve Event is a Method written in ProjectWorkflow.cs file

it throws an error while

WorkflowCompilerResults results = compiler.Compile(parameters, strArr);

where,

strArr array contains both ProjectWorkflow.xoml and ProjectWorkflow.cs file.

parameter contains all ReferencedAssemblies which i have used in project.

i have defined OutputAssembly too.

Is there any extra setting i have to do?

[1085 byte] By [Jigaracharya] at [2007-12-21]
# 1
Is the class attribute the same as the class in the .cs file?
JonFlanders at 2007-9-10 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...
# 2

thanks for your reply...

problem is resolved

Jigaracharya at 2007-9-10 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...

Software Development for Windows Vista

Site Classified