Using custom activities in Visual Studio

I'm trying to use the Send Email and SqlDatabase activities but can't seem to use them in the WF designer. I've downloaded them, built the projects and then added the assemblies to the toolbox via 'Choose Items...'. But when I try to add them to a workflow, nothing happens, they never get added. The Properties window shows the properties for the activity until I select another activity but that's it, nothing added to the designer or the code behind. I'm sure this is really simple, anybody know what I'm doing wrong


Answer this question

Using custom activities in Visual Studio

  • CDFAUX

    Hi,

    Have you tried attaching the Visual Studio debugger to your designer

    Thanks, Maggie



  • DevelopperX

    Thanks, that helps. Guess that's the way to fix these kind of problems. The issue seems to be with the Designer classes that set up various properties in their Initialize methods. The exception thrown is

    Theme properties can only be changed in the Theme Configuration Dialog.

    If I remove the code everything works fine. Thanks for the tip!



  • Using custom activities in Visual Studio