On the last VSTO Power Tools package there's an interesting SharePoint Workflow Package Generator, a simple tool that creates a WSP file from a VS 2008 SharePoint workflow project.
As described by Nikhil Kothari's announce:
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=""c:\Program Files\Microsoft VSTO Power Tools 1.0\workflowpackagegen.exe" /featureManifest:feature.xml" ContinueOnError="true">
</Exec>
</Target>
Really interesting in order to simplify the workflow deployment on Sharepoint...