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?

