Add rules file to a workflow in Visual Studio RRS feed

  • Question

  • I'm trying to create new workflow in Visual Studio, but, I'm using components of Dynamic Workflow from Microsoft (Solution Starters package). I'm trying to add its entire ApprovalActivity section with its rule file. But, the problem is, ApprovalActivity.rules is not recognized as part of this workflow. This is how it looks in my project:


    And this is how it should look like:


    Rules aren't bind with ApprovalActivity.cs.

    How can I connect *.rules file with activity?

    • Edited by SPManiac Friday, February 15, 2013 3:40 PM
    Friday, February 15, 2013 3:33 PM


  • OK, I got it.

    I clicked on activity, and added the desired condition and *.rules file was automatically generated.

    • Marked as answer by SPManiac Saturday, February 16, 2013 2:18 PM
    Saturday, February 16, 2013 2:18 PM