WSPBuilder 1.4 and SP 2007 wf ?

Apr 22, 2010 at 1:15 PM


On a VM with W2K8 R2 X64,  I've set up WSS 3.0 X64, VS 2010 and WSPBuilder V 1.4 beta.


Everything seems to be ok except the workflow designer (in a WSPBuilder project type). The toolbox is empty, and even I "show all", sharepoint workflow activities remains grayed.


Any idea ?



Apr 27, 2010 at 9:53 AM
Yes, 1.4 beta also lacks some of the ItemTemplates: Event Handler is gone, Solution Installer Configuration, etc.
May 20, 2010 at 1:11 PM

This is because the .csproj created by WSPBuilder Extensions file does not contain the correct Project Type Guids.  You can fix this by replacing them with the following:


Once you've done that, reload the project and the SharePoint WF activities should appear in the toolbar.

May 25, 2010 at 3:32 PM
Thanks !
May 27, 2010 at 3:02 PM

I also got some issues with workflows not starting correctly with the message "Failed on start (retrying)" in the SharePoint list and "Engine RunWorkflow: System.Workflow.ComponentModel.Compiler.WorkflowValidationFailedException: The workflow failed validation." in the ULS logs.

This was resolved by including the following at the bottom of the .csproj file:
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildToolsPath)\Workflow.Targets" />
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\Windows Workflow Foundation\v3.5\Workflow.Targets" />