Freigeben über


How to: Create a Workflow Activity Library (Legacy)

Follow these steps to create a Workflow Activity Library project using the legacy Windows Workflow Designer provided by Visual Studio 2010. Use the legacy Workflow-Designer when you need to target either the .NET Framework, Version 3.5 or the .NET Framework 3.0.

To create a workflow activity library project

  1. Start Visual Studio.

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

    The New Project dialog box opens.

  3. Select either the .NET Framework 3.0 option or the .NET Framework 3.5 option in the drop down list at the top of the New Project window to access the legacy designer.

    Tipp

    The default option in Visual Studio 2010 is .NET Framework 4. This option is used to create Windows Workflow Foundation (WF) applications that target the .NET Framework 4 and it does not use the legacy designer.

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

  5. In the Templates pane, select Workflow Activity Library.

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

  7. 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.

  8. Click OK.

Siehe auch

Konzepte

Creating Legacy Workflow Projects
Using the Legacy Activity Designer
Legacy Workflow Activities

Weitere Ressourcen

Developing Workflow Activities
Windows Workflow Foundation Activities