Base Class and Inheritance

Hi,

I have an empty Workflow inherited from StateMachineWorkflowActivity (WFBase).
I'm trying to define an inherited workflow to WFBase (WFChild) but can't find a way to do it !

- When i try to set "Base Class" to WFChild from the designer, WFBase doesn't show up in the list of available activities... Why ?

- When i try to set the base class directly from the code and into the xoml file, the compiler complain about an invalid root activity... (It seems that it tries to find WFBase in the System.Workflow.Activities namespace ?)

Any ideas on how to do this ?

PS : What is the correct path for the workflow xoml schemas definition,http://schemas.microsoft.com/winfx/2006/xaml/workflow doesn't work ?

[908 byte] By [Hadrienlc] at [2007-12-23]
# 1

I have found that one way to fix this is to have the base workflow defined in another project. I haven't had time to figure out the why of this just yet.

Matt

MattMilner-Pluralsight at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Windows Workflow Foundation...

Software Development for Windows Vista

Site Classified