We announced the release of VSTO power tools at Office Developer Conference (ODC). Of the many tools that we released, I will discuss the SharePoint Workflow Package Generator. Workflow package generator is a tool that creates a WSP file from a VS 2008 SharePoint workflow project.

The package generator uses the feature.xml file to generate a WSP file. In the WSP file, it will also include any <ElementFile> that have been referenced. Hence, any referenced InfoPath forms and resource files will also be packaged in the WSP file.

To use the package generator just type:

“c:\Program Files\Microsoft VSTO Power Tools 1.0\workflowpackagegen.exe" /featureManifest:feature.xml

An example of incorporating the tool into the project as an MSBuild post-build task is shown below. You can add this to the end of your csproj/vbproj file to get a wsp file after every build:

<Target Name="AfterBuild">
<Exec Command="&quot;c:\Program Files\Microsoft VSTO Power Tools 1.0\workflowpackagegen.exe&quot; /featureManifest:feature.xml" ContinueOnError="true">
</Exec>
</Target>

Drop me a line if you find the tool useful. We're always looking for feedback on our tools.