How to: Add a New Item to a Workflow Project (Legacy)

[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]

After you have created a workflow project using the legacy Windows Workflow Designer provided by Visual Studio 2010 that targets either the .NET Framework version 3.5 or the .NET Framework 3.0, you can add Windows Workflow Foundation (WF) items and other familiar Visual Studio items to your project.

The following table lists the Windows Workflow Foundation items that you can add to a workflow project.

Item Description

Activity

An activity with the activity definition in a designer code file and user code in a separate code file.

Activity (with code separation)

An activity definition expressed as workflow markup and user code in a separate code file.

Sequential Workflow (code)

A sequential workflow with the workflow definition in a designer code file and user code in a separate code file.

Sequential Workflow (with code separation)

A sequential workflow with the workflow definition expressed as workflow markup and user code in a separate code file.

State Machine Workflow (code)

A state machine workflow with the workflow definition in a designer code file and user code in a separate code file.

State Machine Workflow (with code separation)

A state machine workflow with the workflow definition expressed as workflow markup and user code in a separate code file.

To add a new item to a workflow project

  1. On the Project menu, click Add a New Item.

    The Add a New Item dialog box opens.

  2. Select an item.

    The previous table lists the available Windows Workflow Foundation selections.

  3. Click Add to add the item to the workflow project.

See Also

Concepts

Creating Legacy Workflow Projects

Fill out a survey about this topic for Microsoft.

Build Date:

2012-08-02