Include the Generated Class Files in Your Visual Studio 2010 Project

After you use the Add Activities from System Role menu item to generate the class files for your custom feature or user-defined data list, you need to include folders and files in your project so they can be compiled with the workflow assembly. The class files generated by BBMetalWeb are organized into folders that are only visible when you select Show All Files in the Visual Studio 2010 Solution Explorer. You need to right-click the appropriate folder and select Include in Project from the popup menu. Next, you should build the workflow assembly, and then you should see the workflow activities in your toolbox for the custom feature.