Bagikan melalui


How to: Create State Machine Workflow Console Applications

Follow these steps to create a State Machine Workflow Console Application project using Visual Studio Extensions for Windows Workflow Foundation.

To create a state machine application project

  1. Start Visual Studio.

  2. On the File menu, point to New, and then select Project.

    The New Project dialog box opens.

  3. In the Project Types pane, select Visual C# or Visual Basic (under Other Languages) and then select Workflow.

  4. In the Templates pane, select State Machine Workflow Console Application.

  5. In the Name box, enter a descriptive name for your project to make it easy to identify.

  6. In the Location box, enter the directory in which you want to save your project, or click Browse to navigate to it.

    If you want a solution directory created for the project, select the Create directory for solution check box and enter a name in the Solution Name box.

  7. Click OK.

See Also

Tasks

How to: Create a State Machine Workflow Library

Concepts

Creating Workflow Projects

Copyright © 2007 by Microsoft Corporation. All rights reserved.