More in this section
Forums / Sitefinity SDK / Error when adding workflow XAMLX files to Visual Studio project

Error when adding workflow XAMLX files to Visual Studio project

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Tom
    Tom avatar
    7 posts
    07 Oct 2013
    29 May 2014
    Link to this post

    After downloading the Sitefinity Resources zip for workflow files from GitHub here:

     I get an error when trying to add the workflow files to my project:

     "Activity could not be loaded because of errors in the XAML"

     I am running Sitefinity 6.1. I am not sure if I should be downloading the workflow files from somewhere else or is there a problem with my project?

     Attached is a screenshot of the error in Visual Studio.

  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    17 Aug 2017
    31 May 2014
    Link to this post
    Hello Tom,

    A possible reason for this error might be if you have modified the Activity file after adding it to the Workflow file. Please note that the XAML is not automatically updated when the activity is changed and this results in invalid XAML code. Please take a look here:

    In addition, you can download the default workflow files for Sitefinity 6.1 from your SDK installation folder/Content/Resources

    You can find more details on how you can extend the built-in workflow process in the following documentation article. You may also check out the following video demonstrations:
    1. Sitefinity Custom Workflows - Part 1
    2. Sitefinity Custom Workflows - Part 2

    Sabrie Nedzhip
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered