How do I get my custom activities to appear in the toolbox?
I have a project with some activities which all appear in the toolbox while I’m working with the project. Next I compile the project, open a new project, and reference the assembly from the first project. What do I have to do to get the activities from the first project to appear in the toolbox automatically?
I’m using the ToolboxItem as shown below:
[ToolboxBitmap(typeof(Page),"ExtendedCodeActivity.ico")]
[ToolboxItem(typeof(ActivityToolboxItem))]
[Description("Like a System.Workflow.Activities.CodeActivity")]
[Designer(typeof(ExtendedCodeActivityDesigner),typeof(IDesigner))]
public
partialclassExtendedCodeActivity :Activity{
...
}
Should I use the ToolboxItemAttribute instead? What is the difference?
Mikael

