Share via


How to: Add a New Item to a Workflow Project

After you have created a workflow project in Visual Studio Extensions for Windows Workflow Foundation, you can add Windows Workflow Foundation 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 Workflow Projects

Copyright © 2007 by Microsoft Corporation. All rights reserved.