Follow these steps to convert workflow/custom activity from solution to app style, or to convert an existing workflow app project created using Preview 2 version of Office Developer Tools to be compatible with Office March 2013 SharePoint Update and with the official release of Office Developer Tools:
  1. Download and open the project in Visual Studio 2012. Build the project, and close Visual Studio.
  2. Install the workflow converter tool by double-clicking on the vsix file in your project output directory (typically in "\bin\Debug" or "bin\Release" folders).
  3. Launch Visual Studio 2012 - run as administrator, and open your workflow project.
  4. In the Solution Explorer, right click on a workflow or custom activity item -> click "Convert to App-style Workflow" (or "Convert to App-style Custom Activity"). You'll notice a new workflow or custom activity created in the project.
  5. Right click again on the original workflow/custom activity item and exclude it from the project. This is to avoid conflicts with the new copy.
  6. Repeat step 4 and 5 for all other workflow or custom activity in your project.
  7. (Only applicable in an App project) Initiation or association forms:
    1. If a workflow includes an initiation form or association form, move the forms from the converted workflow item to a Pages module in your project. (If there is no Pages module, create a new module named "Pages".)
    2. Go to the workflow properties (with the workflow item node highlighted in the solution explorer, the property grid shows workflow properties), and update the Initiation Url and/or Association Url properties of the workflow to reflect the new URL (for example: Pages/initform.aspx).

Follow these steps to convert an existing Preview 2 workflow solution project in-place; that is, you are not converting from a solution to an app but rather fixing up an existing solution project.
  1. Follow steps 1-3 above.
  2. In the Solution Explorer, right click on a workflow or custom activity item -> click "Update Workflow references" (or "Update Custom Activity references"). This will update the xaml on the item. Repeat for all other workflow or custom activity in the workflow solution project.

Last edited Mar 28, 2013 at 2:11 AM by graigray, version 12

Comments

mingle75 May 5, 2013 at 6:14 PM 
When you attempt to double-click the VSIX file created you may need to choose the VS Version Selector in order for it to install the extension.

mingle75 May 5, 2013 at 6:01 PM 
You need to download the VS 2012 SDK. It will contain the VSIX project template needed for this project.

Robert_Stark_ Apr 10, 2013 at 7:49 PM 
Tried to open this in Visual Studio 2012 and it saying that the project is incompatible with the current edition of Visual Studio. I'm running VS 2012 Ultimate. Any ideas?