Monday, December 28, 2009

Issue with WSPBuilder Project with Workflow

If you are developing with WSPBuilder and have started a project with a workflow do yourself a big favor. 
Edit your .csproj file and add an import statement for the workflow foundation. Find the following line in a C# project or the vb equivalent "<Import Project=”$(MSBuildBinPath)\Microsoft.CSharp.targets” />" and add this line after it.


<Import Project=”$(MSBuildExtensionsPath)\Microsoft\Windows Workflow Foundation\v3.0\Workflow.Targets” />

At a minimum it will allow you to use declarative conditions. If you don't add this you'll have to use code conditions in your while loops.

No comments:

Post a Comment