How to: Add a New Item to a Workflow Project

[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, you can add workflow activities, designers, and other familiar Visual Studio items to your project.

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

Name Description

Activity

An activity to be composed of other activities. Selecting this item adds the same XAML file to the project as you would obtain when selecting the Activity Library template for a new project. For more information about on this procedure, see How to: Create an Activity Library.

Activity Designer

A designer to customize the design-time experience of an activity. Selecting this item adds the same files to the project as you would obtain when selecting the Activity Designer Library template for a new project. For more information about on this procedure, see How to: Create an Activity Designer Library.

Code Activity

An activity with execution logic written in code. A source code file with an override of the Execute method is already generated for you.

WCF Workflow Service

A WCF service built using workflow activities. Selecting this item adds the same files to the project as you would obtain when selecting the WCF Workflow Service Application template for a new project. For more information about on this procedure, see How to: Create a WCF Workflow Service Application.

To add a new item to a workflow project

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

    The Add a New Item dialog box opens.

  2. In the Installed Templates pane, select Workflow group.

  3. Select one of the four items. The previous table lists the selections available.

  4. Type an appropriate name for the item in the Name box at the bottom of the dialog box.

  5. Click Add to add the item to the current workflow project.

See Also

Other Resources

Creating a Workflow Project

Fill out a survey about this topic for Microsoft.

Build Date:

2012-08-02